Add Clans Dye Box and Clans Builder Box to CUST-1

This commit is contained in:
Alexander Meech 2017-06-16 18:23:11 -04:00 committed by GitHub
parent 93a316e5e3
commit 4e8838d99e

View File

@ -38,6 +38,7 @@ import mineplex.staffServer.salespackage.salespackages.OmegaChest;
import mineplex.staffServer.salespackage.salespackages.Pet;
import mineplex.staffServer.salespackage.salespackages.PowerPlayClub;
import mineplex.staffServer.salespackage.salespackages.RuneAmplifier;
import mineplex.staffServer.salespackage.salespackages.ClansBox;
import mineplex.staffServer.salespackage.salespackages.SalesPackageBase;
import mineplex.staffServer.salespackage.salespackages.SpringChest;
import mineplex.staffServer.salespackage.salespackages.StPatricksChest;
@ -80,13 +81,13 @@ public class SalesPackageManager extends MiniPlugin
AddSalesPackage(new LifetimeLegend(this));
AddSalesPackage(new LifetimeTitan(this));
AddSalesPackage(new LifetimeEternal(this));
//AddSalesPackage(new GemHunter(this, 4));
//AddSalesPackage(new GemHunter(this, 4));
//AddSalesPackage(new GemHunter(this, 8));
AddSalesPackage(new ApplyKits(this));
AddSalesPackage(new OldChest(this));
AddSalesPackage(new AncientChest(this));
AddSalesPackage(new MythicalChest(this));
AddSalesPackage(new IlluminatedChest(this));
AddSalesPackage(new IlluminatedChest(this));
AddSalesPackage(new FreedomChest(this));
AddSalesPackage(new GingerbreadChest(this));
//AddSalesPackage(new ValentinesGift(this));
@ -96,6 +97,8 @@ public class SalesPackageManager extends MiniPlugin
AddSalesPackage(new ClanBannerEditor(this));
AddSalesPackage(new RuneAmplifier(this, 20));
AddSalesPackage(new RuneAmplifier(this, 60));
AddSalesPackage(new ClansBox(this, "Dye"));
AddSalesPackage(new ClansBox(this, "Builder"));
AddSalesPackage(new PowerPlayClub(this, false));
AddSalesPackage(new PowerPlayClub(this, true));
AddSalesPackage(new OmegaChest(this));
@ -180,7 +183,7 @@ public class SalesPackageManager extends MiniPlugin
{
chestBuilder = chestBuilder.extra("[").color("gray").extra(salesPackage.getName()).color("green").click("run_command", "/display " + playerName + " " + salesPackage.getName()).extra("] ").color("gray");
}
else if (salesPackage instanceof ClanBannerEditor || salesPackage instanceof ClanBannerUsage || salesPackage instanceof RuneAmplifier)
else if (salesPackage instanceof ClanBannerEditor || salesPackage instanceof ClanBannerUsage || salesPackage instanceof RuneAmplifier || salesPackage instanceof ClansBox)
{
clanBuilder = clanBuilder.extra("[").color("gray").extra(salesPackage.getName()).color("green").click("run_command", "/display " + playerName + " " + salesPackage.getName()).extra("] ").color("gray");
}