gr8pefish / IronBackpacks

A Minecraft mod that adds portable storage in the form of tiered backpacks with modular upgrades.
GNU General Public License v3.0
60 stars 32 forks source link

On 1.7.10, server crashes while trying to open the alternative GUI for a diamond backpack with depth upgrade #191

Closed depressed-pho closed 6 years ago

depressed-pho commented 7 years ago

Stack trace:

java.lang.ArrayIndexOutOfBoundsException: 4
        at main.ironbackpacks.items.backpacks.ItemBackpack.onItemUseFirst(ItemBa
ckpack.java:96)
        at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemI
nWorldManager.java:360)
...

https://github.com/gr8pefish/IronBackpacks/blob/7deb7518c5781e25a791ae305f5b276af815c929/src/main/java/main/ironbackpacks/items/backpacks/ItemBackpack.java#L96

Shouldn't it be itemBackpack.getGuiId()?

gr8pefish commented 6 years ago

I might fix this one if I have my 1.7 development environment up, but 1.7 is officially unsupported now. Regardless, it won't be until I get home, which wont be until January.

TehNut commented 6 years ago

Sorry, we're not accepting issues for 1.7.10, anymore!