Minor cleanup
This commit is contained in:
@@ -134,14 +134,6 @@ public class MapleClient extends ChannelInboundHandlerAdapter {
|
||||
CHANNEL
|
||||
}
|
||||
|
||||
public void updateLastPacket() {
|
||||
lastPacket = System.currentTimeMillis();
|
||||
}
|
||||
|
||||
public long getLastPacket() {
|
||||
return lastPacket;
|
||||
}
|
||||
|
||||
public MapleClient(Type type, PacketProcessor packetProcessor, int world, int channel) {
|
||||
this.type = type;
|
||||
this.packetProcessor = packetProcessor;
|
||||
@@ -252,6 +244,14 @@ public class MapleClient extends ChannelInboundHandlerAdapter {
|
||||
}
|
||||
}
|
||||
|
||||
public void updateLastPacket() {
|
||||
lastPacket = System.currentTimeMillis();
|
||||
}
|
||||
|
||||
public long getLastPacket() {
|
||||
return lastPacket;
|
||||
}
|
||||
|
||||
public void closeSession() {
|
||||
ioChannel.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user