mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Fix #1400
This commit is contained in:
parent
e2fd0823b9
commit
61c9d065fb
@ -29,7 +29,7 @@ minetest.register_entity("mcl_end:ender_eye", {
|
||||
if self._age >= 3 then
|
||||
-- End of life
|
||||
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.
|
||||
-- 100% if in Creative Mode
|
||||
self.object:remove()
|
||||
|
Loading…
Reference in New Issue
Block a user