Merge branch 'master' of github.com:Hetal728/MCGalaxy

This commit is contained in:
UnknownShadow200 2017-03-05 13:01:48 +11:00
commit 4da9db50d4

View File

@ -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;
}