diff --git a/nampower/item_scripts.cpp b/nampower/item_scripts.cpp index babd952..858d6ef 100644 --- a/nampower/item_scripts.cpp +++ b/nampower/item_scripts.cpp @@ -850,7 +850,7 @@ namespace Nampower { return 0; } - uint64_t containerGuid = getContainerGuid(bagIndex); + uint64_t containerGuid = getContainerGuid(bagIndex-1); if (containerGuid == 0) { lua_pushnil(luaState); return 1;