From 7fa3ec2a1b154c0e9f7fae29c807055b9906de94 Mon Sep 17 00:00:00 2001 From: Kono Tyran Date: Thu, 25 Jul 2024 13:04:37 -0700 Subject: [PATCH] fix index again --- src/main/java/dev/koifysh/archipelago/ItemManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/koifysh/archipelago/ItemManager.java b/src/main/java/dev/koifysh/archipelago/ItemManager.java index d9d80f4..9766d00 100644 --- a/src/main/java/dev/koifysh/archipelago/ItemManager.java +++ b/src/main/java/dev/koifysh/archipelago/ItemManager.java @@ -34,7 +34,7 @@ public void receiveItems(ArrayList ids, int index) { item.itemName = dp.getItem(item.itemID, client.getGame()); item.locationName = dp.getLocation(item.locationID, client.getSlotInfo().get(item.playerID).game); item.playerName = client.getRoomInfo().getPlayer(myTeam,item.playerID).alias; - client.getEventManager().callEvent(new ReceiveItemEvent(item, i)); + client.getEventManager().callEvent(new ReceiveItemEvent(item, i+1)); } this.index = receivedItems.size();