add some commands, fix exception spam, split converter nbt implementation
This commit is contained in:
parent
2cee1d6632
commit
ad4949af16
9 changed files with 465 additions and 90 deletions
|
@ -1,5 +1,6 @@
|
|||
package common.network;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.SocketAddress;
|
||||
import java.nio.channels.ClosedChannelException;
|
||||
import java.util.Queue;
|
||||
|
@ -69,7 +70,7 @@ public class NetConnection extends SimpleChannelInboundHandler<Packet> {
|
|||
}
|
||||
else {
|
||||
comp = "Interner Fehler: " + throwable;
|
||||
if(!(throwable instanceof ClosedChannelException))
|
||||
if(!(throwable instanceof ClosedChannelException || throwable instanceof IOException))
|
||||
Log.NETWORK.error(throwable, "Fehler in der Verbindung mit %s", this.getCutAddress());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue