mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Merge branch 'master' of github.com:Hetal728/MCGalaxy
This commit is contained in:
commit
4da9db50d4
@ -86,6 +86,9 @@ namespace MCGalaxy {
|
||||
foreach (Player p in players) {
|
||||
if (!p.hidden) count++;
|
||||
}
|
||||
// This may happen if a VIP or a dev/mod joins an already full server.
|
||||
if (count > Server.players)
|
||||
count = Server.players;
|
||||
return count;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user