[NEEDS REPRODUCING] Crash when trying to craft a tank cart with acid (or similar liquid)
Issue #60
resolved
2012-11-11 12:43:34 [INFO] [STDERR] java.lang.ArrayIndexOutOfBoundsException: 57
2012-11-11 12:43:34 [INFO] [STDERR] at binnie.extrabees.liquids.ItemLiquidContainer.a(ItemLiquidContainer.java:69)
2012-11-11 12:43:34 [INFO] [STDERR] at railcraft.client.render.RenderTankCartItem.render(RenderTankCartItem.java:240)
2012-11-11 12:43:34 [INFO] [STDERR] at railcraft.client.render.RenderTankCartItem.renderItem(RenderTankCartItem.java:47)
2012-11-11 12:43:34 [INFO] [STDERR] at net.minecraftforge.client.ForgeHooksClient.renderInventoryItem(ForgeHooksClient.java:329)
2012-11-11 12:43:34 [INFO] [STDERR] at bag.b(RenderItem.java:314)
2012-11-11 12:43:34 [INFO] [STDERR] at atq.a(GuiContainer.java:310)
2012-11-11 12:43:34 [INFO] [STDERR] at atq.a(GuiContainer.java:103)
2012-11-11 12:43:34 [INFO] [STDERR] at ayt.b(EntityRenderer.java:976)
2012-11-11 12:43:34 [INFO] [STDERR] at net.minecraft.client.Minecraft.J(Minecraft.java:884)
2012-11-11 12:43:34 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:779)
2012-11-11 12:43:34 [INFO] [STDERR] at java.lang.Thread.run(Unknown Source)
This crashes immediately when you place a tank cart and an acid bucket in the crafting table.
I think the problem is that the method ItemLiquidContainer.a() (actualy getColorFromItemStack(ItemStack, int)) wants to return a color from the EnumArray index that is out of bounds.
Comments (4)
-
repo owner -
repo owner - changed title to [NEEDS REPRODUCING] Crash when trying to craft a tank cart with acid (or similar liquid)
- edited description
-
Hey Binnie, this bug has been fixed. I've tested it in both crafting table and 2x2 crafting. I see no issue here as I tried to reproduce with any of the extra bees liquids.
-
repo owner - changed status to resolved
- Log in to comment
Can anyone replicate this again? I've reworked the liquids a bit