More debug info

This commit is contained in:
ajgeiss0702
2020-07-23 08:30:42 -07:00
parent 02eefe24d9
commit 4c643d4b94
+5 -5
View File
@@ -146,11 +146,11 @@ public class Server {
}
public String getJoinableDebug(ProxiedPlayer p) {
return (!whitelisted || whitelistedplayers.contains(p.getName())) + "\n" +
this.isOnline() +"\n"+
this.canAccess(p) +"\n"+
!this.isFull() +"\n"+
!this.isPaused();
return "whitelist: "+(!whitelisted || whitelistedplayers.contains(p.getName())) + "\n" +
"online: "+this.isOnline() +"\n"+
"canaccess: "+this.canAccess(p) +"\n"+
"full: "+ !this.isFull() +"\n"+
"paused: "+!this.isPaused();
}