Give Slow balls a cool name

This commit is contained in:
Sam 2018-01-11 10:42:15 +00:00 committed by Alexander Meech
parent 3ac5c230c0
commit db30e8757b

View File

@ -10,8 +10,10 @@ import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.event.player.PlayerDropItemEvent; import org.bukkit.event.player.PlayerDropItemEvent;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import mineplex.core.common.util.C;
import mineplex.core.common.util.UtilInv; import mineplex.core.common.util.UtilInv;
import mineplex.core.common.util.UtilPlayer; import mineplex.core.common.util.UtilPlayer;
import mineplex.core.itemstack.ItemBuilder;
import mineplex.core.recharge.Recharge; import mineplex.core.recharge.Recharge;
import mineplex.core.updater.UpdateType; import mineplex.core.updater.UpdateType;
import mineplex.core.updater.event.UpdateEvent; import mineplex.core.updater.event.UpdateEvent;
@ -22,7 +24,9 @@ import nautilus.game.arcade.kit.Perk;
public class PerkSlowSnowball extends Perk public class PerkSlowSnowball extends Perk
{ {
private static final ItemStack SNOW_BALL = new ItemStack(Material.SNOW_BALL); private static final ItemStack SNOW_BALL = new ItemBuilder(Material.SNOW_BALL)
.setTitle(C.cPurpleB + "Frosting Balls")
.build();
private static final int MAX = 3; private static final int MAX = 3;
public PerkSlowSnowball() public PerkSlowSnowball()