mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-11 01:29:36 +01:00
Fix violent enderman when not in creative mode.
This commit is contained in:
parent
80fcffcd38
commit
5472b0403f
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue