mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
whoops
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user