mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-20 14:04:10 +02:00
Fixed eye of ender crash (#4344)
This makes sure every loaded eye of ender gets its `_luck` parameter set. Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4344
This commit is contained in:
parent
067ad7b78b
commit
3e6ec9cf10
@ -22,6 +22,7 @@ minetest.register_entity("mcl_end:ender_eye", {
|
|||||||
self._phase = 0
|
self._phase = 0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if not self._luck then self._luck = 0 end
|
||||||
end,
|
end,
|
||||||
|
|
||||||
on_step = function(self, dtime)
|
on_step = function(self, dtime)
|
||||||
|
Loading…
Reference in New Issue
Block a user