forked from VoxeLibre/VoxeLibre
restart item_despawn timer on unload
This commit is contained in:
parent
85afc8bd53
commit
d2944da951
|
@ -485,7 +485,7 @@ minetest.register_entity(":__builtin:item", {
|
|||
local data = minetest.serialize({
|
||||
itemstring = self.itemstring,
|
||||
always_collect = self.always_collect,
|
||||
age = self.age,
|
||||
age = 0, --self.age, restart the timer when reloading ... idk why this set it to the current age?! WTF is going on why would a saved to disk item entity be a problem ? And i mean i suppose it doesnt get removed from there either until it is loaded again and actually times out....
|
||||
_insta_collect = self._insta_collect,
|
||||
_flowing = self._flowing,
|
||||
_removed = self._removed,
|
||||
|
|
Loading…
Reference in New Issue