mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 09:59:33 +01:00
Fix #1400
This commit is contained in:
parent
e2fd0823b9
commit
61c9d065fb
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue