Fix Heroes of GWEN select menu
This commit is contained in:
parent
22676ab9e3
commit
bdaea49d56
@ -17,7 +17,7 @@ public class MOBAServerTypePage extends ShopPageBase<ServerManager, ServerNpcSho
|
|||||||
|
|
||||||
public MOBAServerTypePage(ServerManager plugin, ServerNpcShop shop, CoreClientManager clientManager, DonationManager donationManager, Player player, ServerGroup serverGroup)
|
public MOBAServerTypePage(ServerManager plugin, ServerNpcShop shop, CoreClientManager clientManager, DonationManager donationManager, Player player, ServerGroup serverGroup)
|
||||||
{
|
{
|
||||||
super(plugin, shop, clientManager, donationManager, "Super Smash Mobs ", player, 27);
|
super(plugin, shop, clientManager, donationManager, "Heroes of GWEN ", player, 27);
|
||||||
_serverGroup = serverGroup;
|
_serverGroup = serverGroup;
|
||||||
|
|
||||||
buildPage();
|
buildPage();
|
||||||
@ -26,7 +26,7 @@ public class MOBAServerTypePage extends ShopPageBase<ServerManager, ServerNpcSho
|
|||||||
@Override
|
@Override
|
||||||
protected void buildPage()
|
protected void buildPage()
|
||||||
{
|
{
|
||||||
setItem(12, new ItemBuilder(Material.SKULL_ITEM, 1, (byte) 4).setTitle(C.Reset + C.cGold + "Play " + C.cYellow + "Heroes of GWEN")
|
setItem(12, new ItemBuilder(Material.SKULL_ITEM, 1, (byte) 3).setTitle(C.Reset + C.cGold + "Play " + C.cYellow + "Heroes of GWEN")
|
||||||
.addLore(new String[]
|
.addLore(new String[]
|
||||||
{
|
{
|
||||||
C.Reset + "",
|
C.Reset + "",
|
||||||
@ -40,7 +40,7 @@ public class MOBAServerTypePage extends ShopPageBase<ServerManager, ServerNpcSho
|
|||||||
C.Reset + C.cGreen + "Click to Play",
|
C.Reset + C.cGreen + "Click to Play",
|
||||||
}).build());
|
}).build());
|
||||||
|
|
||||||
getButtonMap().put(12, (player, __) -> getShop().openPageForPlayer(player, new ServerTypePage(getPlugin(), getShop(), getClientManager(), getDonationManager(), player, _serverGroup)));
|
getButtonMap().put(12, (player, __) -> getShop().openPageForPlayer(player, new ServerNpcPage(getPlugin(), getShop(), getClientManager(), getDonationManager(), "Heroes of GWEN", player, "MOBA")));
|
||||||
getButtonMap().put(14, (player, __) -> getShop().openPageForPlayer(player, new ServerNpcPage(getPlugin(), getShop(), getClientManager(), getDonationManager(), "Heroes of GWEN Training", player, "MOBAT")));
|
getButtonMap().put(14, (player, __) -> getShop().openPageForPlayer(player, new ServerNpcPage(getPlugin(), getShop(), getClientManager(), getDonationManager(), "Heroes of GWEN Training", player, "MOBAT")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user