From 8a285b4043ba40f5f4c383ca6d59f033eeb4f35e Mon Sep 17 00:00:00 2001 From: ManyManyTomato <93612024+ATTomatoo@users.noreply.github.com> Date: Fri, 11 Apr 2025 22:43:12 +0800 Subject: [PATCH] Update shop.py --- farm/shop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/farm/shop.py b/farm/shop.py index fef2592..e1f3cfe 100644 --- a/farm/shop.py +++ b/farm/shop.py @@ -34,7 +34,7 @@ class CShopManager: sell = "" plants = list(g_pJsonManager.m_pPlant['plant'].items()) - start = (num - 0) * 15 + start = (num - 1) * 15 maxItems = min(len(plants) - start, 15) items = plants[start:start + maxItems]