Fix  #1400

This commit is contained in:
AFCMS 2021-03-27 07:19:35 +01:00
parent e2fd0823b9
commit 61c9d065fb

View file

@ -29,7 +29,7 @@ minetest.register_entity("mcl_end:ender_eye", {
if self._age >= 3 then if self._age >= 3 then
-- End of life -- End of life
local r = math.random(1,5) local r = math.random(1,5)
if r == 1 or minetest.is_creative_enabled("") then if r == 1 then
-- 20% chance to get destroyed completely. -- 20% chance to get destroyed completely.
-- 100% if in Creative Mode -- 100% if in Creative Mode
self.object:remove() self.object:remove()