Correct misleading detached inventory error message

Looks like a bit of hasty copying and pasting from s_item.cpp.
This commit is contained in:
Ciaran Gultnieks 2014-03-07 21:06:43 +00:00 committed by sapier
parent 0643cef09a
commit 5ce3f8f7b7
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }