mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
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"
|
||||
or not damage_enabled
|
||||
or creative
|
||||
or self.passive
|
||||
or self.state == "attack"
|
||||
or day_docile(self) then
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user