Servers with more than 40 max slots always send to largest server.

Fixed space in Solo lore.
This commit is contained in:
Jonathan Williams 2015-08-03 02:07:23 -05:00
parent 6a1e5d6bfc
commit adcd91bf61
2 changed files with 2 additions and 2 deletions

View File

@ -598,7 +598,7 @@ public class ServerManager extends MiniPlugin
{
ServerInfo largestServer = servers.get(0);
if (largestServer.getAvailableSlots() >= MIN_SLOTS_REQUIRED)
if (largestServer.getAvailableSlots() >= MIN_SLOTS_REQUIRED || largestServer.MaxPlayers > 40)
{
return largestServer;
}

View File

@ -53,7 +53,7 @@ public class ServerTypePage extends ShopPageBase<ServerManager, ServerNpcShop>
setItem(12, ItemStackFactory.Instance.CreateStack(Material.SKULL_ITEM.getId(), (byte)3, 1, ChatColor.RESET + C.cYellow + "Solo " + C.cGray + name, new String[]
{
ChatColor.RESET + "",
ChatColor.RESET + C.cRed + C.Bold + "WARNING:" + ChatColor.RESET + "Teaming in Solo Mode is bannable!",
ChatColor.RESET + C.cRed + C.Bold + "WARNING: " + ChatColor.RESET + "Teaming in Solo Mode is bannable!",
ChatColor.RESET + "",
ChatColor.RESET + C.cGreen + "Click to Play",
}));