Fix typo in falling item code

This commit is contained in:
Aaron Suen 2022-11-04 19:23:47 -04:00
parent 9b2947f6b0
commit a8e64a20e5

View File

@ -84,7 +84,7 @@ nodecore.register_item_entity_step(function(self)
nodecore.log("action", string_format("skyrealm %s dropped item %q at %s", nodecore.log("action", string_format("skyrealm %s dropped item %q at %s",
api.islandhash(ipos), itemshortdesc(stack), api.islandhash(ipos), itemshortdesc(stack),
minetest.pos_to_string(self.get_pos(), 0))) minetest.pos_to_string(self.object:get_pos(), 0)))
local def = minetest.registered_items[iname] local def = minetest.registered_items[iname]
return poof(self, def) return poof(self, def)