Fixed global ultra joining full games.

This commit is contained in:
Jonathan Williams 2013-10-11 22:03:17 -07:00
parent 0b2dcc2617
commit f2c295c391
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ public class CoreClientManager implements Listener
// Reserved Slot Check
if (Bukkit.getOnlinePlayers().length >= Bukkit.getServer().getMaxPlayers())
{
if (client.GetRank().Has(event.getPlayer(), Rank.HELPER, false))
if (client.GetRank().Has(event.getPlayer(), Rank.ULTRA, false))
{
event.allow();
event.setResult(PlayerLoginEvent.Result.ALLOWED);