mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 10:52:25 +01:00
Disable the despawn timer catchup for items that were unloaded.
This commit is contained in:
parent
12e6c0e661
commit
677110e39f
@ -537,9 +537,9 @@ minetest.register_entity(":__builtin:item", {
|
||||
self.itemstring = data.itemstring
|
||||
self.always_collect = data.always_collect
|
||||
if data.age then
|
||||
self.age = data.age + dtime_s
|
||||
self.age = data.age
|
||||
else
|
||||
self.age = dtime_s
|
||||
self.age = self.age
|
||||
end
|
||||
--remember collection data
|
||||
-- If true, can collect item without delay
|
||||
|
Loading…
Reference in New Issue
Block a user