forked from ChomeNS/chipmunkmod
F
This commit is contained in:
parent
d194d6baa2
commit
44dffc37a2
1 changed files with 2 additions and 4 deletions
|
@ -37,10 +37,8 @@ public class ClientConnectionMixin {
|
|||
|
||||
@Inject(method = "exceptionCaught", at = @At("HEAD"), cancellable = true)
|
||||
private void exceptionCaught (ChannelHandlerContext context, Throwable ex, CallbackInfo ci) {
|
||||
if (ex instanceof DecoderException) {
|
||||
ci.cancel();
|
||||
ex.printStackTrace();
|
||||
}
|
||||
ci.cancel();
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Inject(method = "handlePacket", at = @At("HEAD"), cancellable = true)
|
||||
|
|
Loading…
Reference in a new issue