Iron Backpacks

Iron Backpacks

54M Downloads

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

depressed-pho opened this issue ยท 2 comments

commented

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)
...

ContainerBackpack container = new ContainerBackpack(player, new InventoryBackpack(player, itemstack, BackpackTypes.values()[itemBackpack.getId()]), BackpackTypes.values()[itemBackpack.getId()]);

Shouldn't it be itemBackpack.getGuiId()?

commented

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.

commented

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