Actually use the new GivePackagePage in MiscPackagePage
This commit is contained in:
parent
94a525c5b4
commit
413948bf38
@ -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();
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user