Fix violent enderman when not in creative mode.
This commit is contained in:
parent
80fcffcd38
commit
5472b0403f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user