Skip to content

Commit

Permalink
fix index again
Browse files Browse the repository at this point in the history
  • Loading branch information
KonoTyran committed Jul 25, 2024
1 parent bc8c2c0 commit 7fa3ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/koifysh/archipelago/ItemManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void receiveItems(ArrayList<NetworkItem> 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();
Expand Down

0 comments on commit 7fa3ec2

Please sign in to comment.