mirror of
https://github.com/brues-code/nampower.git
synced 2026-10-15 09:50:49 +00:00
Convert to 0 based index
This commit is contained in:
@@ -850,7 +850,7 @@ namespace Nampower {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t containerGuid = getContainerGuid(bagIndex);
|
uint64_t containerGuid = getContainerGuid(bagIndex-1);
|
||||||
if (containerGuid == 0) {
|
if (containerGuid == 0) {
|
||||||
lua_pushnil(luaState);
|
lua_pushnil(luaState);
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user