Cleanup
This commit is contained in:
@@ -357,7 +357,6 @@ public class NetServer implements ApplicationListener{
|
|||||||
Log.info("&lc{0} has kicked {1}.", player.name, other.name);
|
Log.info("&lc{0} has kicked {1}.", player.name, other.name);
|
||||||
}else if(action == AdminAction.trace){
|
}else if(action == AdminAction.trace){
|
||||||
TraceInfo info = new TraceInfo(other.con.address, other.uuid, other.con.modclient, other.con.mobile);
|
TraceInfo info = new TraceInfo(other.con.address, other.uuid, other.con.modclient, other.con.mobile);
|
||||||
//TODO implement
|
|
||||||
if(player.con != null){
|
if(player.con != null){
|
||||||
Call.onTraceInfo(player.con.id, other, info);
|
Call.onTraceInfo(player.con.id, other, info);
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -775,6 +775,8 @@ public class ServerControl implements ApplicationListener{
|
|||||||
socketOutput = null;
|
socketOutput = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}catch(BindException b){
|
||||||
|
err("Command input socket already in use. Is another instance of the server running?");
|
||||||
}catch(IOException e){
|
}catch(IOException e){
|
||||||
err("Terminating socket server.");
|
err("Terminating socket server.");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
Reference in New Issue
Block a user