Fix Winter Chests not giving common rewards

This commit is contained in:
Sam 2017-11-08 00:16:14 +00:00 committed by Alexander Meech
parent b3ff894acf
commit 40f1499ce1
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ public enum RewardType
OLD_CHEST( 20, 0.06, 0.8, 16, 40), OLD_CHEST( 20, 0.06, 0.8, 16, 40),
ANCIENT_CHEST( 0, 2, 8, 32, 0), ANCIENT_CHEST( 0, 2, 8, 32, 0),
MYTHICAL_CHEST( 0.1, 4, 16, 72, 0), MYTHICAL_CHEST( 0.1, 4, 16, 72, 0),
WINTER_CHEST( 0, 5, 18, 32, 0), WINTER_CHEST( 0, 5, 18, 32, 40),
ILLUMINATED_CHEST( 0, 2, 16, 72, 0), ILLUMINATED_CHEST( 0, 2, 16, 72, 0),
FREEDOM_CHEST( 0, 5, 18, 0, 0), FREEDOM_CHEST( 0, 5, 18, 0, 0),
HAUNTED_CHEST( 0, 5, 18, 0, 0), HAUNTED_CHEST( 0, 5, 18, 0, 0),

View File

@ -13,6 +13,7 @@ public class GameLootTreasure extends NormalTreasure
super(TreasureType.GAME_LOOT); super(TreasureType.GAME_LOOT);
setRewardsPerChest(1); setRewardsPerChest(1);
setRewards(RewardType.GAME_LOOT);
allowDuplicates(); allowDuplicates();
enabledByDefault(); enabledByDefault();
} }