1
0
Fork 0

Fix crash with non-punch attack mobs in collision

mineclone5
jordan4ibanez 2021-04-21 12:10:29 -04:00
parent 6bd279255c
commit 74094938bb
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ mobs.collision = function(self)
local check_for_attack = false local check_for_attack = false
if self.hostile and self.attacking then if self.attack_type == "punch" and self.hostile and self.attacking then
check_for_attack = true check_for_attack = true
end end