fix actionbar message saying server is restarting when its not

This commit is contained in:
ajgeiss0702
2020-07-20 08:04:29 -07:00
parent 6ce0975f6c
commit 8bc1303724
3 changed files with 22 additions and 2 deletions
+8 -1
View File
@@ -141,10 +141,17 @@ public class Server {
return (!whitelisted || whitelistedplayers.contains(p.getName())) &&
this.isOnline() &&
this.canAccess(p) &&
this.isFull() &&
!this.isFull() &&
!this.isPaused();
}
public String getJoinableDebug(ProxiedPlayer p) {
return (!whitelisted || whitelistedplayers.contains(p.getName())) + "\n" +
this.isOnline() +"\n"+
this.canAccess(p) +"\n"+
!this.isFull() +"\n"+
!this.isPaused();
}
boolean paused = false;