From 7ef1ab103008c2ce6acd940579c50347383acef6 Mon Sep 17 00:00:00 2001 From: Mats391 Date: Tue, 30 Dec 2025 16:54:55 +0100 Subject: [PATCH] Bank bags go 5 to 9 --- nampower/item_scripts.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nampower/item_scripts.cpp b/nampower/item_scripts.cpp index 6fbeda1..7dda723 100644 --- a/nampower/item_scripts.cpp +++ b/nampower/item_scripts.cpp @@ -767,8 +767,6 @@ namespace Nampower { } } - - uint32_t Script_GetBagItem(uintptr_t *luaState) { luaState = GetLuaStatePtr(); @@ -845,7 +843,7 @@ namespace Nampower { lua_error(luaState, "For bag -1, slot must be 1-24 (bank) or 31-42 (buyback) (Lua 1-indexed)"); return 0; } - } else if (bagIndex >= 4 && bagIndex <= 8) { + } else if (bagIndex >= 5 && bagIndex <= 9) { uint64_t bankGuid = *reinterpret_cast(Offsets::BankGuid); if (bankGuid == 0) { lua_error(luaState, "Bank is not open");