Added EasterBunny package for support server.
This commit is contained in:
parent
726c03af58
commit
0119e99adf
@ -16,6 +16,7 @@ import mineplex.staffServer.salespackage.salespackages.AncientChest;
|
||||
import mineplex.staffServer.salespackage.salespackages.ApplyKits;
|
||||
import mineplex.staffServer.salespackage.salespackages.Coins;
|
||||
import mineplex.staffServer.salespackage.salespackages.DefaultRank;
|
||||
import mineplex.staffServer.salespackage.salespackages.EasterBunny;
|
||||
import mineplex.staffServer.salespackage.salespackages.FrostLord;
|
||||
import mineplex.staffServer.salespackage.salespackages.GemHunter;
|
||||
import mineplex.staffServer.salespackage.salespackages.LifetimeHero;
|
||||
@ -61,6 +62,7 @@ public class SalesPackageManager extends MiniPlugin
|
||||
AddSalesPackage(new AncientChest(this));
|
||||
AddSalesPackage(new MythicalChest(this));
|
||||
AddSalesPackage(new FrostLord(this));
|
||||
AddSalesPackage(new EasterBunny(this));
|
||||
}
|
||||
|
||||
private void AddSalesPackage(SalesPackageBase salesPackage)
|
||||
|
@ -0,0 +1,20 @@
|
||||
package mineplex.staffServer.salespackage.salespackages;
|
||||
|
||||
import mineplex.staffServer.salespackage.SalesPackageManager;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class EasterBunny extends SalesPackageBase
|
||||
{
|
||||
public EasterBunny(SalesPackageManager manager)
|
||||
{
|
||||
super(manager, "Easter Bunny Morph");
|
||||
}
|
||||
|
||||
public void displayToAgent(Player agent, String playerName)
|
||||
{
|
||||
addButton(agent, "/sales item " + playerName + " 1 Easter Bunny Morph", "Give Easter Bunny Morph.");
|
||||
agent.sendMessage(" ");
|
||||
addBackButton(agent, playerName);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user