pwatts6060 / SuppliesTrackerExternal

Tracks supplies, ammo, and weapon charges
BSD 2-Clause "Simplified" License
9 stars 13 forks source link

ArrayIndexOutOfBoundsException #67

Open pwatts6060 opened 2 years ago

pwatts6060 commented 2 years ago

java.lang.ArrayIndexOutOfBoundsException: Index 46 out of bounds for length 28 at com.suppliestracker.SuppliesTrackerPlugin.onMenuOptionClicked(SuppliesTrackerPlugin.java:922)

int pushItem = oldInv.getItems()[event.getMenuEntry().getParam0()].getId();