[1.12] net.minecraft.block.BlockAir incompatible with com.buuz135.industrial.tile.block.CustomAreaOrientedBlock
clienthax opened this issue ยท 1 comments
**Industrial Foregoing Version: **
industrialforegoing-1.12.2-1.12.13-237.jar
**TeslaCoreLib Version: **
tesla-core-lib-1.12.2-1.0.15.jar
Unless i'm losing it the code actually seems to do a check before this occurs :| ?
**Crashlog If Applicable (Upload to pastebin/gist): **
/******************************************************************************************************************************************/
/* Exception occurred during a PhaseState */
/******************************************************************************************************************************************/
/* Sponge's tracking system makes a best effort to not throw exceptions randomly */
/* but sometimes it is inevitable. In most cases, something else triggered this */
/* exception and Sponge prevented a crash by catching it. The following stacktrace */
/* can be used to help pinpoint the cause. */
/******************************************************************************************************************************************/
/* The PhaseState having an exception: Tick{TileEntity} */
/* The PhaseContext: */
/* org.spongepowered.asm.util.PrettyPrinter@d22d94ff */
/* */
/* StackTrace : */
/* java.lang.ClassCastException: net.minecraft.block.BlockAir incompatible with com.buuz135.industrial.tile.block.CustomAreaOrientedBlock */
/* com.buuz135.industrial.utils.WorkUtils.getBlock(WorkUtils.java:39) */
/* com.buuz135.industrial.utils.WorkUtils.getMachineWorkingArea(WorkUtils.java:51) */
/* com.buuz135.industrial.tile.WorkingAreaElectricMachine.getWorkingArea(WorkingAreaElectricMachine.java:154) */
/* com.buuz135.industrial.tile.agriculture.PlantInteractorTile.work(PlantInteractorTile.java:81) */
/* com.buuz135.industrial.tile.WorkingAreaElectricMachine.performWork(WorkingAreaElectricMachine.java:112) */
/* net.ndrei.teslacorelib.tileentities.ElectricMachine.protectedUpdate(ElectricMachine.kt:280) */
/* com.buuz135.industrial.tile.CustomElectricMachine.protectedUpdate(CustomElectricMachine.java:120) */
/* net.ndrei.teslacorelib.tileentities.ElectricTileEntity.innerUpdate(ElectricTileEntity.kt:118) */
/* net.ndrei.teslacorelib.tileentities.SidedTileEntity.func_73660_a(SidedTileEntity.kt:991) */
/* org.spongepowered.common.event.tracking.TrackingUtil.tickTileEntity(TrackingUtil.java:237) */
/* net.minecraft.world.WorldServer.updateTileEntity(WorldServer.java:4728) */
/* net.minecraft.world.WorldServer.redirect$onUpdateTileEntities$zlj000(WorldServer.java:4712) */
/* net.minecraft.world.World.func_72939_s(World.java:1838) */
/* net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:3930) */
/* net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) */
/* net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) */
/* net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) */
/* net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) */
/* java.lang.Thread.run(Thread.java:813) */
/* */
/* Minecraft : 1.12.2 */
/* SpongeAPI : 7.1.0-fba57b6a */
/* Sponge : 1.12.2-7.1.8-SNAPSHOT */
/* SpongeForge : 1.12.2-2838-7.1.8-RC3961 */
/* Minecraft Forge : 14.23.5.2847 */
/******************************************************************************************************************************************/