mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Remove a few unused functions reported by callcatcher (#11658)
This commit is contained in:
@@ -89,7 +89,10 @@ int NodeMetaRef::l_get_inventory(lua_State *L)
|
||||
|
||||
NodeMetaRef *ref = checkobject(L, 1);
|
||||
ref->getmeta(true); // try to ensure the metadata exists
|
||||
InvRef::createNodeMeta(L, ref->m_p);
|
||||
|
||||
InventoryLocation loc;
|
||||
loc.setNodeMeta(ref->m_p);
|
||||
InvRef::create(L, loc);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user