Fix Grinch Hat

This commit is contained in:
Shaun Bennett 2015-12-15 12:28:06 -05:00
parent f2107b7b79
commit 3edba0fac6
4 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ public class HatGrinch extends HatGadget
super(manager, "The Grinch",
UtilText.splitLineToArray(C.cGray + "Great! Now wheres the Roast Beast?!", LineFormat.LORE),
-3,
SkinData.THE_GRINCH.getSkull());
SkinData.THE_GRINCH.getSkull(), "The Grinch Hat");
}
}

View File

@ -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;

View File

@ -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;
}

View File

@ -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));