forked from VoxeLibre/VoxeLibre
More item refactor
This commit is contained in:
parent
4fd6e527a1
commit
f0b9799dee
|
@ -287,7 +287,7 @@ core.register_entity(":__builtin:item", {
|
||||||
itemstring = self.itemstring,
|
itemstring = self.itemstring,
|
||||||
always_collect = self.always_collect,
|
always_collect = self.always_collect,
|
||||||
age = self.age,
|
age = self.age,
|
||||||
dropped_by = self.dropped_by,
|
_insta_collect = self._insta_collect,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
@ -307,7 +307,6 @@ core.register_entity(":__builtin:item", {
|
||||||
-- If true, can collect item without delay
|
-- If true, can collect item without delay
|
||||||
self._insta_collect = data._insta_collect
|
self._insta_collect = data._insta_collect
|
||||||
end
|
end
|
||||||
self.dropped_by = data.dropped_by
|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
self.itemstring = staticdata
|
self.itemstring = staticdata
|
||||||
|
|
Loading…
Reference in New Issue