From aafdc555b18a16db46187648ab3003a8975284a1 Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Fri, 12 Sep 2014 23:41:50 -0500 Subject: [PATCH] Oops, accidentally removed some code! --- .../src/mineplex/core/treasure/reward/RewardManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/treasure/reward/RewardManager.java b/Plugins/Mineplex.Core/src/mineplex/core/treasure/reward/RewardManager.java index 2ee9ce93f..907eed1b3 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/treasure/reward/RewardManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/treasure/reward/RewardManager.java @@ -92,7 +92,7 @@ public class RewardManager // 4% rarity = RewardRarity.RARE; } - else if (rand <= 0.30) + else if (rand <= 0.30 || requiresUncommon) { // 25% rarity = RewardRarity.UNCOMMON; @@ -103,7 +103,6 @@ public class RewardManager rarity = RewardRarity.COMMON; } - List treasureList = _treasureMap.get(rarity); int totalWeight = 0;