From 413948bf38dd7d2645a0ffea689d88d28dc2a7af Mon Sep 17 00:00:00 2001 From: Spencer Date: Sat, 6 Jan 2018 16:44:05 -0500 Subject: [PATCH] Actually use the new GivePackagePage in MiscPackagePage --- ...neTimePackagePage.java => SupportMiscPackagePage.java} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/packages/{SupportOneTimePackagePage.java => SupportMiscPackagePage.java} (73%) diff --git a/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/packages/SupportOneTimePackagePage.java b/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/packages/SupportMiscPackagePage.java similarity index 73% rename from Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/packages/SupportOneTimePackagePage.java rename to Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/packages/SupportMiscPackagePage.java index ed8dbf7f0..767408277 100644 --- a/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/packages/SupportOneTimePackagePage.java +++ b/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/packages/SupportMiscPackagePage.java @@ -10,9 +10,9 @@ import mineplex.staffServer.customerSupport.CustomerSupport; import mineplex.staffServer.ui.SupportPage; import mineplex.staffServer.ui.SupportShop; -public class SupportOneTimePackagePage extends SupportPackagePage +public class SupportMiscPackagePage extends SupportPackagePage { - public SupportOneTimePackagePage(CustomerSupport plugin, SupportShop shop, Player player, CoreClient target, SupportPage previousPage) + public SupportMiscPackagePage(CustomerSupport plugin, SupportShop shop, Player player, CoreClient target, SupportPage previousPage) { super(plugin, shop, player, target, previousPage, "Packages"); @@ -24,8 +24,12 @@ public class SupportOneTimePackagePage extends SupportPackagePage _packageList.add(getPackagePair(Material.SNOW_BALL,"Frost Lord")); _packageList.add(getPackagePair(Material.RABBIT_FOOT,"Easter Bunny Morph")); _packageList.add(getPackagePair(Material.RED_ROSE,"Valentines Gift")); + _packageList.add(getPackagePair(Material.EMERALD, "Game Amplifier", "Game Booster")); _itemPackages.add("Valentines Gift"); + _itemPackages.add("Game Booster"); + + addToItemLores(); buildPage(); }