mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
Correct misleading detached inventory error message
Looks like a bit of hasty copying and pasting from s_item.cpp.
This commit is contained in:
parent
0643cef09a
commit
5ce3f8f7b7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user