mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-02-16 18:54:58 +01:00
Remove dangling else
This commit is contained in:
parent
cf70de0ecc
commit
8b00fff4cb
1 changed files with 1 additions and 2 deletions
|
@ -1250,11 +1250,10 @@ function mob_class:do_states_attack (dtime)
|
||||||
|
|
||||||
elseif self.attack_type == "custom" and self.attack_state then
|
elseif self.attack_type == "custom" and self.attack_state then
|
||||||
self.attack_state(self, dtime)
|
self.attack_state(self, dtime)
|
||||||
else
|
end
|
||||||
|
|
||||||
if self.on_attack then
|
if self.on_attack then
|
||||||
self.on_attack(self, dtime)
|
self.on_attack(self, dtime)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue