mirror of
https://github.com/brues-code/nampower.git
synced 2026-09-25 00:26:02 +00:00
Convert to 0 based index
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user