diff options
author | Ciaran Gultnieks <ciaran@ciarang.com> | 2014-03-07 21:06:43 +0000 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-03-09 11:16:09 +0100 |
commit | 5ce3f8f7b773e915e82f7a4616743dd820f51df4 (patch) | |
tree | bc30e9f23b9cb42570d24d889621e2da1070ce52 /src/script/cpp_api/s_inventory.cpp | |
parent | 0643cef09a741d1e8a7b971f3ae70b45ac8d44bf (diff) | |
download | minetest-5ce3f8f7b773e915e82f7a4616743dd820f51df4.tar.gz minetest-5ce3f8f7b773e915e82f7a4616743dd820f51df4.tar.bz2 minetest-5ce3f8f7b773e915e82f7a4616743dd820f51df4.zip |
Correct misleading detached inventory error message
Looks like a bit of hasty copying and pasting from s_item.cpp.
Diffstat (limited to 'src/script/cpp_api/s_inventory.cpp')
-rw-r--r-- | src/script/cpp_api/s_inventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/cpp_api/s_inventory.cpp b/src/script/cpp_api/s_inventory.cpp index 8542f0292..db3c13fe0 100644 --- a/src/script/cpp_api/s_inventory.cpp +++ b/src/script/cpp_api/s_inventory.cpp @@ -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; } |