Correct misleading detached inventory error message
Looks like a bit of hasty copying and pasting from s_item.cpp.master
parent
0643cef09a
commit
5ce3f8f7b7
|
@ -232,7 +232,7 @@ bool ScriptApiDetached::getDetachedInventoryCallback(
|
||||||
// Should be a table
|
// Should be a table
|
||||||
if(lua_type(L, -1) != LUA_TTABLE)
|
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);
|
lua_pop(L, 1);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue