mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
More item refactor
This commit is contained in:
parent
4fd6e527a1
commit
f0b9799dee
@ -287,7 +287,7 @@ core.register_entity(":__builtin:item", {
|
||||
itemstring = self.itemstring,
|
||||
always_collect = self.always_collect,
|
||||
age = self.age,
|
||||
dropped_by = self.dropped_by,
|
||||
_insta_collect = self._insta_collect,
|
||||
})
|
||||
end,
|
||||
|
||||
@ -307,7 +307,6 @@ core.register_entity(":__builtin:item", {
|
||||
-- If true, can collect item without delay
|
||||
self._insta_collect = data._insta_collect
|
||||
end
|
||||
self.dropped_by = data.dropped_by
|
||||
end
|
||||
else
|
||||
self.itemstring = staticdata
|
||||
|
Loading…
Reference in New Issue
Block a user