mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Remove a few unused functions reported by callcatcher (#11658)
This commit is contained in:
@@ -421,19 +421,6 @@ void InvRef::create(lua_State *L, const InventoryLocation &loc)
|
||||
luaL_getmetatable(L, className);
|
||||
lua_setmetatable(L, -2);
|
||||
}
|
||||
void InvRef::createPlayer(lua_State *L, RemotePlayer *player)
|
||||
{
|
||||
NO_MAP_LOCK_REQUIRED;
|
||||
InventoryLocation loc;
|
||||
loc.setPlayer(player->getName());
|
||||
create(L, loc);
|
||||
}
|
||||
void InvRef::createNodeMeta(lua_State *L, v3s16 p)
|
||||
{
|
||||
InventoryLocation loc;
|
||||
loc.setNodeMeta(p);
|
||||
create(L, loc);
|
||||
}
|
||||
|
||||
void InvRef::Register(lua_State *L)
|
||||
{
|
||||
|
Reference in New Issue
Block a user