mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-10-01 02:17:17 +00:00
Exclude bots from player counts
This commit is contained in:
@@ -60,6 +60,7 @@ public class PlayerHandler {
|
||||
for (int i = 0; i < Constants.MAX_PLAYERS; i++) {
|
||||
if (players[i] != null) {
|
||||
playersCurrentlyOn[i] = players[i].playerName;
|
||||
if (!players[i].isBot)
|
||||
playerCount++;
|
||||
} else {
|
||||
playersCurrentlyOn[i] = "";
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user