1
0
Fork 0

Disable the despawn timer catchup for items that were unloaded.

wood_api
MysticTempest 2022-07-03 04:28:43 -05:00
parent 12e6c0e661
commit 677110e39f
1 changed files with 2 additions and 2 deletions

View File

@ -537,9 +537,9 @@ minetest.register_entity(":__builtin:item", {
self.itemstring = data.itemstring self.itemstring = data.itemstring
self.always_collect = data.always_collect self.always_collect = data.always_collect
if data.age then if data.age then
self.age = data.age + dtime_s self.age = data.age
else else
self.age = dtime_s self.age = self.age
end end
--remember collection data --remember collection data
-- If true, can collect item without delay -- If true, can collect item without delay