parent
4376b55a2f
commit
60b31d3066
4
init.lua
4
init.lua
@ -115,8 +115,8 @@ end)
|
||||
-- https://github.com/minetest/minetest/issues/6909
|
||||
local builtin_item = minetest.registered_entities["__builtin:item"]
|
||||
local item = {
|
||||
on_step = function(self, dtime, moveresult)
|
||||
builtin_item.on_step(self, dtime, moveresult)
|
||||
on_step = function(self, dtime, ...)
|
||||
builtin_item.on_step(self, dtime, ...)
|
||||
|
||||
self.shining_timer = (self.shining_timer or 0) + dtime
|
||||
if self.shining_timer >= update_interval then
|
||||
|
Loading…
x
Reference in New Issue
Block a user