Absolutely no reason to do it that way

This commit is contained in:
nossr50 2013-01-17 10:28:31 -08:00
parent 946d00cce6
commit b11762da99

View File

@ -134,7 +134,7 @@ public class MiningManager extends SkillManager{
int randomChance = 100;
if (Permissions.luckyMining(player)) {
randomChance = (int) (randomChance * 0.75);
randomChance = 75;
}
float chance = ((float) Mining.DOUBLE_DROPS_MAX_CHANCE / Mining.DOUBLE_DROPS_MAX_BONUS_LEVEL) * eventHandler.skillModifier;