Fix violent enderman when not in creative mode.

This commit is contained in:
Booglejr 2020-06-21 18:17:59 -05:00
parent 80fcffcd38
commit 5472b0403f

@ -1601,6 +1601,7 @@ local monster_attack = function(self)
if self.type ~= "monster"
or not damage_enabled
or creative
or self.passive
or self.state == "attack"
or day_docile(self) then
return