mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 05:51:05 +01:00
More item refactor
This commit is contained in:
parent
4fd6e527a1
commit
f0b9799dee
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue