TheCodex6824/ThaumicAugmentation

Crash: Placing something over Rustic's slabs causing `ClassCastException: EnumBlockHalf cannot be cast to Integer`

Closed this issue · 1 comments

Placing slabs over slabs added by mod Rustic causing MC crash

Caused by: java.lang.ClassCastException: net.minecraft.block.BlockSlab$EnumBlockHalf cannot be cast to java.lang.Integer
    at java.lang.Integer.compareTo(Integer.java:52)
    at thecodex6824.thaumicaugmentation.common.internal.TAHooksCommon.isCompatibleSlab(TAHooksCommon.java:129)
    at thecodex6824.thaumicaugmentation.common.internal.TAHooksCommon.checkWardSlab(TAHooksCommon.java:136)
    at net.minecraft.item.ItemSlab.onItemUse(ItemSlab.java:49)
    at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:889)
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:186)

Right click on this screenshot would cause crash:

image

  • ThaumicAugmentation-1.12.2-2.1.9
  • Rustic-1.1.7
  • Java 1.8.0_362

debug-1.log.gz

Fixed version should be available soon (TM)