1
0
Fork 0

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
1 changed files with 1 additions and 0 deletions

View File

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