Fix for Open in

This commit is contained in:
Jonathan Williams 2014-10-11 02:43:02 -07:00
parent a54b78fefa
commit 1a10ddb6a4

View File

@ -230,7 +230,10 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
greenCount++;
AddButton(slot, shopItem, new JoinServerButton(this, serverInfo));
if (serverInfo.MOTD.contains("Open in"))
setItem(slot, shopItem);
else
AddButton(slot, shopItem, new JoinServerButton(this, serverInfo));
if (full)
fullCount++;