1
0
Mirror von https://github.com/luanti-org/luanti.git synchronisiert 2025-11-09 03:25:28 +01:00

Correct misleading detached inventory error message

Looks like a bit of hasty copying and pasting from s_item.cpp.
Dieser Commit ist enthalten in:
Ciaran Gultnieks
2014-03-07 21:06:43 +00:00
committet von sapier
Ursprung 0643cef09a
Commit 5ce3f8f7b7

Datei anzeigen

@@ -232,7 +232,7 @@ bool ScriptApiDetached::getDetachedInventoryCallback(
// Should be a table
if(lua_type(L, -1) != LUA_TTABLE)
{
errorstream<<"Item \""<<name<<"\" not defined"<<std::endl;
errorstream<<"Detached inventory \""<<name<<"\" not defined"<<std::endl;
lua_pop(L, 1);
return false;
}