Fix Grinch Hat
This commit is contained in:
parent
f2107b7b79
commit
3edba0fac6
@ -15,7 +15,7 @@ public class HatGrinch extends HatGadget
|
||||
super(manager, "The Grinch",
|
||||
UtilText.splitLineToArray(C.cGray + "Great! Now where’s the Roast Beast?!", LineFormat.LORE),
|
||||
-3,
|
||||
SkinData.THE_GRINCH.getSkull());
|
||||
SkinData.THE_GRINCH.getSkull(), "The Grinch Hat");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ public abstract class HatGadget extends OutfitGadget
|
||||
|
||||
private ItemStack _hat;
|
||||
|
||||
public HatGadget(GadgetManager manager, String name, String[] desc, int cost, ItemStack item)
|
||||
public HatGadget(GadgetManager manager, String name, String[] desc, int cost, ItemStack item, String... altNames)
|
||||
{
|
||||
super(manager, name, desc, cost, ArmorSlot.Helmet, item.getType(), item.getData().getData());
|
||||
_hat = item;
|
||||
|
@ -20,9 +20,9 @@ public abstract class OutfitGadget extends Gadget
|
||||
|
||||
protected ArmorSlot _slot;
|
||||
|
||||
public OutfitGadget(GadgetManager manager, String name, String[] desc, int cost, ArmorSlot slot, Material mat, byte data)
|
||||
public OutfitGadget(GadgetManager manager, String name, String[] desc, int cost, ArmorSlot slot, Material mat, byte data, String... altNames)
|
||||
{
|
||||
super(manager, GadgetType.Costume, name, desc, cost, mat, data);
|
||||
super(manager, GadgetType.Costume, name, desc, cost, mat, data, 1, altNames);
|
||||
|
||||
_slot = slot;
|
||||
}
|
||||
|
@ -326,7 +326,7 @@ public class RewardManager
|
||||
// addReward(new CoinReward(donationManager, (int)minValue, (int)maxValue, 25, rarity));
|
||||
}
|
||||
|
||||
addReward(RewardPool.Type.WINTER_HOLIDAY, new UnknownPackageReward(donationManager, "Hat", "The Grinch", "The Grinch Hat",
|
||||
addReward(RewardPool.Type.WINTER_HOLIDAY, new UnknownPackageReward(donationManager, "Hat", "The Grinch", "The Grinch",
|
||||
SkinData.THE_GRINCH.getSkull(), rarity, 5, _legendaryShards));
|
||||
addReward(RewardPool.Type.WINTER_HOLIDAY, new UnknownPackageReward(donationManager, "Morph", "Olaf", "Olaf Morph",
|
||||
new ItemStack(Material.SNOW_BALL), rarity, 5, _legendaryShards));
|
||||
|
Loading…
Reference in New Issue
Block a user