Added Trait Crushing, changed old assignment, fixed two variables to prevent annoyance

This commit is contained in:
Robert Sosnitzka
2017-01-14 00:54:57 +01:00
parent 8145002326
commit 450b8b0899
4 changed files with 41 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ public class TraitPulverizing extends AbstractTrait {
@Override
public void blockHarvestDrops(ItemStack tool, BlockEvent.HarvestDropsEvent event) {
if (random.nextFloat() < 0.9) {
if (random.nextFloat() < 0.6) {
event.getDrops().clear();
}
}