Disable purchase of 2017 Trick or Treat Bags

This commit is contained in:
AlexTheCoder 2017-11-01 03:04:19 -04:00
parent adc8c902ae
commit 848bee47e3
2 changed files with 2 additions and 6 deletions

View File

@ -3,14 +3,13 @@ package mineplex.core.treasure.types;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import mineplex.core.gadget.gadgets.mount.types.MountZombie;
import mineplex.core.gadget.gadgets.morph.MorphPumpkinKing; import mineplex.core.gadget.gadgets.morph.MorphPumpkinKing;
import mineplex.core.gadget.gadgets.mount.types.MountZombie;
import mineplex.core.pet.PetType; import mineplex.core.pet.PetType;
import mineplex.core.reward.RewardType; import mineplex.core.reward.RewardType;
import mineplex.core.reward.rewards.SpinTicketReward;
import mineplex.core.reward.rewards.GameAmplifierReward; import mineplex.core.reward.rewards.GameAmplifierReward;
import mineplex.core.reward.rewards.RuneAmplifierReward; import mineplex.core.reward.rewards.RuneAmplifierReward;
import mineplex.core.reward.rewards.ChestReward; import mineplex.core.reward.rewards.SpinTicketReward;
import mineplex.core.reward.rewards.UnknownPackageReward; import mineplex.core.reward.rewards.UnknownPackageReward;
import mineplex.core.treasure.animation.animations.TrickOrTreatChestAnimation; import mineplex.core.treasure.animation.animations.TrickOrTreatChestAnimation;
import mineplex.core.treasure.reward.RewardRarity; import mineplex.core.treasure.reward.RewardRarity;

View File

@ -25,9 +25,6 @@ public class TrickOrTreatTreasure2017 extends Treasure
setAnimation(treasureLocation -> new TrickOrTreatChestAnimation(this, treasureLocation)); setAnimation(treasureLocation -> new TrickOrTreatChestAnimation(this, treasureLocation));
setRewards(RewardType.TRICK_OR_TREAT_CHEST); setRewards(RewardType.TRICK_OR_TREAT_CHEST);
setRewardsPerChest(1); setRewardsPerChest(1);
setPurchasable(20000);
purchasableFromStore();
enabledByDefault();
} }
@Override @Override