Skip to content
Browse files
Correct misleading detached inventory error message
Looks like a bit of hasty copying and pasting from s_item.cpp.
  • Loading branch information
CiaranG authored and sapier committed Mar 9, 2014
1 parent 0643cef commit 5ce3f8f7b773e915e82f7a4616743dd820f51df4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;

0 comments on commit 5ce3f8f

Please sign in to comment.