{"action":"created","issue":{"url":"https://api.github.com/repos/Chisel-Team/Chisel/issues/681","repository_url":"https://api.github.com/repos/Chisel-Team/Chisel","labels_url":"https://api.github.com/repos/Chisel-Team/Chisel/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/Chisel-Team/Chisel/issues/681/comments","events_url":"https://api.github.com/repos/Chisel-Team/Chisel/issues/681/events","html_url":"https://github.com/Chisel-Team/Chisel/issues/681","id":316608235,"node_id":"MDU6SXNzdWUzMTY2MDgyMzU=","number":681,"title":"Crash with Autochisel","user":{"login":"Akitori","id":24502131,"node_id":"MDQ6VXNlcjI0NTAyMTMx","avatar_url":"https://avatars2.githubusercontent.com/u/24502131?v=4","gravatar_id":"","url":"https://api.github.com/users/Akitori","html_url":"https://github.com/Akitori","followers_url":"https://api.github.com/users/Akitori/followers","following_url":"https://api.github.com/users/Akitori/following{/other_user}","gists_url":"https://api.github.com/users/Akitori/gists{/gist_id}","starred_url":"https://api.github.com/users/Akitori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akitori/subscriptions","organizations_url":"https://api.github.com/users/Akitori/orgs","repos_url":"https://api.github.com/users/Akitori/repos","events_url":"https://api.github.com/users/Akitori/events{/privacy}","received_events_url":"https://api.github.com/users/Akitori/received_events","type":"User","site_admin":false},"labels":[{"id":249874040,"node_id":"MDU6TGFiZWwyNDk4NzQwNDA=","url":"https://api.github.com/repos/Chisel-Team/Chisel/labels/bug-code","name":"bug-code","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-22T19:57:58Z","updated_at":"2018-07-15T01:44:21Z","closed_at":null,"author_association":"NONE","body":"If the chisel inside the Autochisel has less durability than the amount left to chisel, the server crashes.\r\n\r\nI haven't got a log from when the server crashes, but its easily repeatable. \r\n\r\n1. Get broken chisel\r\n2. Put in autochisel\r\n3. Put more blocks on one side than the chisel's durability\r\n4. Profit. "},"comment":{"url":"https://api.github.com/repos/Chisel-Team/Chisel/issues/comments/405061350","html_url":"https://github.com/Chisel-Team/Chisel/issues/681#issuecomment-405061350","issue_url":"https://api.github.com/repos/Chisel-Team/Chisel/issues/681","id":405061350,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTA2MTM1MA==","user":{"login":"RalphFox","id":5993974,"node_id":"MDQ6VXNlcjU5OTM5NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5993974?v=4","gravatar_id":"","url":"https://api.github.com/users/RalphFox","html_url":"https://github.com/RalphFox","followers_url":"https://api.github.com/users/RalphFox/followers","following_url":"https://api.github.com/users/RalphFox/following{/other_user}","gists_url":"https://api.github.com/users/RalphFox/gists{/gist_id}","starred_url":"https://api.github.com/users/RalphFox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RalphFox/subscriptions","organizations_url":"https://api.github.com/users/RalphFox/orgs","repos_url":"https://api.github.com/users/RalphFox/repos","events_url":"https://api.github.com/users/RalphFox/events{/privacy}","received_events_url":"https://api.github.com/users/RalphFox/received_events","type":"User","site_admin":false},"created_at":"2018-07-15T01:44:21Z","updated_at":"2018-07-15T01:44:21Z","author_association":"NONE","body":"@tterrag1098 I think this might be related to #603.\r\n\r\nOn my side just the client crashes, there's no log on the server, this is the log from my client:\r\n```\r\n[22:33:13] [Netty Client IO #7/ERROR]: SimpleChannelHandlerWrapper exception\r\njava.lang.ClassCastException: net.minecraft.item.ItemAir cannot be cast to team.chisel.api.IChiselItem\r\n\tat team.chisel.common.util.SoundUtil.getSound(SoundUtil.java:25) ~[SoundUtil.class:?]\r\n\tat team.chisel.common.block.TileAutoChisel.spawnCompletionFX(TileAutoChisel.java:489) ~[TileAutoChisel.class:?]\r\n\tat team.chisel.common.block.MessageAutochiselFX$Handler.onMessage(MessageAutochiselFX.java:56) ~[MessageAutochiselFX$Handler.class:?]\r\n\tat team.chisel.common.block.MessageAutochiselFX$Handler.onMessage(MessageAutochiselFX.java:48) ~[MessageAutochiselFX$Handler.class:?]\r\n\tat net.minecraftforge.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:56) ~[SimpleChannelHandlerWrapper.class:?]\r\n\tat net.minecraftforge.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:36) ~[SimpleChannelHandlerWrapper.class:?]\r\n\tat io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:274) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat net.minecraftforge.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:99) [FMLProxyPacket.class:?]\r\n\tat net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:147) [gw.class:?]\r\n\tat net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:49) [gw.class:?]\r\n\tat io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat ic2.core.network.RpcHandler.channelRead0(RpcHandler.java:123) [RpcHandler.class:?]\r\n\tat ic2.core.network.RpcHandler.channelRead0(RpcHandler.java:25) [RpcHandler.class:?]\r\n\tat io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.handleClientSideCustomPacket(NetworkDispatcher.java:383) [NetworkDispatcher.class:?]\r\n\tat net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:269) [NetworkDispatcher.class:?]\r\n\tat net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:72) [NetworkDispatcher.class:?]\r\n\tat io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:287) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:134) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:624) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:559) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:476) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-all-4.1.9.Final.jar:4.1.9.Final]\r\n\tat java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]\r\n```"}}
{"actor":{"display_login":"RalphFox"}}