mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Absolutely no reason to do it that way
This commit is contained in:
parent
946d00cce6
commit
b11762da99
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user