Fix for Open in
This commit is contained in:
parent
a54b78fefa
commit
1a10ddb6a4
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user