Actually use the new GivePackagePage in MiscPackagePage

This commit is contained in:
Spencer 2018-01-06 16:44:05 -05:00 committed by Alexander Meech
parent 94a525c5b4
commit 413948bf38

View File

@ -10,9 +10,9 @@ import mineplex.staffServer.customerSupport.CustomerSupport;
import mineplex.staffServer.ui.SupportPage; import mineplex.staffServer.ui.SupportPage;
import mineplex.staffServer.ui.SupportShop; 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"); 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.SNOW_BALL,"Frost Lord"));
_packageList.add(getPackagePair(Material.RABBIT_FOOT,"Easter Bunny Morph")); _packageList.add(getPackagePair(Material.RABBIT_FOOT,"Easter Bunny Morph"));
_packageList.add(getPackagePair(Material.RED_ROSE,"Valentines Gift")); _packageList.add(getPackagePair(Material.RED_ROSE,"Valentines Gift"));
_packageList.add(getPackagePair(Material.EMERALD, "Game Amplifier", "Game Booster"));
_itemPackages.add("Valentines Gift"); _itemPackages.add("Valentines Gift");
_itemPackages.add("Game Booster");
addToItemLores();
buildPage(); buildPage();
} }