Fixed global ultra joining full games.
This commit is contained in:
parent
0b2dcc2617
commit
f2c295c391
@ -174,7 +174,7 @@ public class CoreClientManager implements Listener
|
|||||||
// Reserved Slot Check
|
// Reserved Slot Check
|
||||||
if (Bukkit.getOnlinePlayers().length >= Bukkit.getServer().getMaxPlayers())
|
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.allow();
|
||||||
event.setResult(PlayerLoginEvent.Result.ALLOWED);
|
event.setResult(PlayerLoginEvent.Result.ALLOWED);
|
||||||
|
Loading…
Reference in New Issue
Block a user