Output cleanup
This commit is contained in:
@@ -281,6 +281,7 @@ public class NetServer extends Module{
|
||||
}
|
||||
player.remove();
|
||||
netServer.connections.remove(player.con.id);
|
||||
Log.info("&lc{0} has disconnected.", player.name);
|
||||
}
|
||||
|
||||
private static float compound(float speed, float drag){
|
||||
|
||||
@@ -62,7 +62,7 @@ public class KryoServer implements ServerProvider {
|
||||
c.id = kn.id;
|
||||
c.addressTCP = ip;
|
||||
|
||||
Log.info("&bRecieved connection: {0} / {1}. Kryonet ID: {2}", c.id, c.addressTCP, connection.getID());
|
||||
Log.info("&bRecieved connection: {0}", c.addressTCP);
|
||||
|
||||
connections.add(kn);
|
||||
threads.runDelay(() -> Net.handleServerReceived(kn.id, c));
|
||||
@@ -76,8 +76,6 @@ public class KryoServer implements ServerProvider {
|
||||
Disconnect c = new Disconnect();
|
||||
c.id = k.id;
|
||||
|
||||
Log.info("&bLost connection: {0}", k.id);
|
||||
|
||||
threads.runDelay(() -> {
|
||||
Net.handleServerReceived(k.id, c);
|
||||
connections.remove(k);
|
||||
|
||||
Reference in New Issue
Block a user