Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
nossr50 committed May 6, 2020
1 parent 9f455f5 commit d111641
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public void blastMiningDropProcessing(float yield, EntityExplodeEvent event) {
// 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
Expand Down

0 comments on commit d111641

Please sign in to comment.