Carpenter's Blocks

Carpenter's Blocks

24M Downloads

[Crash] Illegal cast on Carpenter's Safe

kawaiiwolf opened this issue ยท 1 comments

commented

Version: Carpenter's Blocks 3.3.7 DEV (08/07/2015 binary from http://www.carpentersblocks.com/downloads.html )

Pack: Agrarian Skies 2-1.1.8 with Chisel + Carpenter's Blocks, running Forge 1469.

Cause: Clicking (I'm 80% certain it was left clicking, mostly fiddling to try to interact with) a Carpenter's Safe placed by another player. Causes a hard crash to the client without affecting other clients or the server.

Stack Trace:
java.lang.ClassCastException: net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP
at com.carpentersblocks.util.protection.PlayerPermissions.hasElevatedPermission(PlayerPermissions.java:32)
at com.carpentersblocks.util.protection.PlayerPermissions.canPlayerEdit(PlayerPermissions.java:48)
at com.carpentersblocks.block.BlockCarpentersSafe.func_149737_a(BlockCarpentersSafe.java:298)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78743_b(PlayerControllerMP.java:177)
at net.minecraft.client.Minecraft.func_147116_af(Minecraft.java:1409)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1948)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

commented

Will look into this.