1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-04 06:34:44 +02:00
This commit is contained in:
nossr50
2020-05-05 19:30:26 -07:00
parent 9f455f5a0d
commit d1116418be

@ -181,7 +181,7 @@ public class MiningManager extends SkillManager {
// float debrisYield = yield - debrisReduction;
for (BlockState blockState : ores) {
if (RandomUtils.nextFloat() >= (yield + getOreBonus())) {
if (RandomUtils.nextFloat() < (yield + getOreBonus())) {
xp += Mining.getBlockXp(blockState);
Misc.dropItem(Misc.getBlockCenter(blockState), new ItemStack(blockState.getType())); // Initial block that would have been dropped