Remove some debug code.
This commit is contained in:
parent
e8c60e6e84
commit
320a3efe5b
@ -346,7 +346,6 @@ public class ServerManager extends MiniPlugin
|
||||
|
||||
public Collection<ServerInfo> getServerList(String serverNpcName)
|
||||
{
|
||||
System.out.println("contains?" + _serverKeyInfoMap.containsKey(serverNpcName));
|
||||
return _serverKeyInfoMap.get(serverNpcName);
|
||||
}
|
||||
|
||||
|
@ -52,8 +52,6 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
|
||||
@Override
|
||||
protected void buildPage()
|
||||
{
|
||||
System.out.println(_serverGroupName);
|
||||
System.out.println("getPlugin() null?" + (getPlugin() == null));
|
||||
List<ServerInfo> serverList = new ArrayList<ServerInfo>(getPlugin().getServerList(_serverGroupName));
|
||||
|
||||
int slotsNeeded = 1;
|
||||
@ -277,7 +275,9 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
|
||||
if (serverInfo.MOTD.contains("Open in"))
|
||||
setItem(slot, shopItem);
|
||||
else
|
||||
{
|
||||
addButton(slot, shopItem, new JoinServerButton(this, serverInfo));
|
||||
}
|
||||
|
||||
if (full)
|
||||
fullCount++;
|
||||
@ -410,7 +410,8 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
|
||||
}
|
||||
|
||||
public void SelectServer(Player player, ServerInfo serverInfo)
|
||||
{
|
||||
{
|
||||
System.out.println("Selecting server :" + serverInfo.Name);
|
||||
int slots = getPlugin().getRequiredSlots(player, serverInfo.ServerType);
|
||||
|
||||
if (serverInfo.getAvailableSlots() < slots && !(getDonationManager().Get(getPlayer().getName()).OwnsUnknownPackage(serverInfo.ServerType + " ULTRA") || getClient().GetRank().Has(Rank.ULTRA)))
|
||||
|
Loading…
Reference in New Issue
Block a user