This commit is contained in:
Code-Sploit 2021-04-13 11:34:53 +00:00
parent 78d387e2df
commit 84764389dc

@ -323,7 +323,7 @@ mobs:register_mob("mobs_mc:enderman", {
-- self:teleport(nil)
-- self.state = ""
--else
if self.attack ~= nil then
if self.attack ~= nil and not minetest.settings:get_bool("creative_mode") then
self.state = 'attack'
end
--end