Skip to content

Commit

Permalink
Correct misleading detached inventory error message
Browse files Browse the repository at this point in the history
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 5ce3f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/cpp_api/s_inventory.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5ce3f8f

Please sign in to comment.