mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-24 05:30:13 +07:00
Formatting change
This commit is contained in:
parent
65e14b7514
commit
98521ad40c
@ -131,10 +131,9 @@ public class Main extends ApplicationAdapter implements PacketProcessor {
|
|||||||
public void processPacket(ChannelHandlerContext ctx, SocketAddress from, Netty netty) {
|
public void processPacket(ChannelHandlerContext ctx, SocketAddress from, Netty netty) {
|
||||||
Gdx.app.debug(TAG, " " + "dataType=" + NettyData.name(netty.dataType()));
|
Gdx.app.debug(TAG, " " + "dataType=" + NettyData.name(netty.dataType()));
|
||||||
switch (netty.dataType()) {
|
switch (netty.dataType()) {
|
||||||
case NettyData.Connection: {
|
case NettyData.Connection:
|
||||||
Connection(ctx, from, netty);
|
Connection(ctx, from, netty);
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
Gdx.app.debug(TAG, "unknown data type: " + netty.dataType());
|
Gdx.app.debug(TAG, "unknown data type: " + netty.dataType());
|
||||||
ctx.close();
|
ctx.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user