Skip to content

Commit

Permalink
Fix active player logic being negated (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
haykam821 authored Sep 4, 2023
1 parent a4d92cd commit 934e67f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ private boolean isActiveFull() {

// if there are no players outside of a game on the server
for (var world : server.getWorlds()) {
if (!hasActivePlayer(world) && !GameSpaceManager.get().hasGame(world)) {
if (hasActivePlayer(world) && !GameSpaceManager.get().hasGame(world)) {
return false;
}
}
Expand Down

0 comments on commit 934e67f

Please sign in to comment.