From 404733cd34551f8482ee1791c884070a1771052b Mon Sep 17 00:00:00 2001 From: cnr Date: Wed, 3 May 2017 18:42:31 -0700 Subject: [PATCH] Disable Speed UHC --- .../hub/server/ui/ServerGameMenu.java | 2 +- .../hub/server/ui/UHCServerTypePage.java | 24 ++++--------------- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/ServerGameMenu.java b/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/ServerGameMenu.java index 0253eaa66..5bfebcbdd 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/ServerGameMenu.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/ServerGameMenu.java @@ -120,7 +120,7 @@ public class ServerGameMenu extends ShopPageBase C.Reset + "Extremely hard team-based survival ", C.Reset + "Gather materials and fight your way", C.Reset + "to become the last team standing!", - }, new String[] {"UHC", "UHC2", "UHCS", "UHCS2"}, "UHC", new SelectUHCButton(this)); + }, new String[] {"UHC", "UHC2"}, "UHC", new SelectUHCButton(this)); add(17, Material.BLAZE_ROD, C.cYellowB + "Wizards " + C.cGray + "Last Man Standing", new String[] { diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/UHCServerTypePage.java b/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/UHCServerTypePage.java index 76cc3595b..4daad3dfd 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/UHCServerTypePage.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/UHCServerTypePage.java @@ -24,38 +24,22 @@ public class UHCServerTypePage extends ShopPageBase getShop().openPageForPlayer(player, new ServerNpcPage(getPlugin(), getShop(), getClientManager(), getDonationManager(), "UHC Solo", player, "UHC2"))); - getButtonMap().put(12, (player, __) -> getShop().openPageForPlayer(player, new ServerNpcPage(getPlugin(), getShop(), getClientManager(), getDonationManager(), "UHC", player, "UHC"))); - getButtonMap().put(14, (player, __) -> getShop().openPageForPlayer(player, new ServerNpcPage(getPlugin(), getShop(), getClientManager(), getDonationManager(), "UHC Speed Solo", player, "UHCS2"))); - getButtonMap().put(16, (player, __) -> getShop().openPageForPlayer(player, new ServerNpcPage(getPlugin(), getShop(), getClientManager(), getDonationManager(), "UHC Speed", player, "UHCS"))); + getButtonMap().put(12, (player, __) -> getShop().openPageForPlayer(player, new ServerNpcPage(getPlugin(), getShop(), getClientManager(), getDonationManager(), "UHC Solo", player, "UHC2"))); + getButtonMap().put(14, (player, __) -> getShop().openPageForPlayer(player, new ServerNpcPage(getPlugin(), getShop(), getClientManager(), getDonationManager(), "UHC", player, "UHC"))); } public void Update()