From dcd8f5207b249bc4f613be6e1031a0c29e4477fc Mon Sep 17 00:00:00 2001 From: Shadows_of_Fire Date: Sun, 24 Sep 2017 14:32:21 -0400 Subject: [PATCH] Fixes #928 --- .../mod/tile/TileEntityDirectionalBreaker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityDirectionalBreaker.java b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityDirectionalBreaker.java index 3be996923..0c7db61de 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityDirectionalBreaker.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityDirectionalBreaker.java @@ -84,7 +84,7 @@ public class TileEntityDirectionalBreaker extends TileEntityInventoryBase{ Block blockToBreak = this.world.getBlockState(coordsBlock).getBlock(); if(blockToBreak != null && !this.world.isAirBlock(coordsBlock) && this.world.getBlockState(coordsBlock).getBlockHardness(this.world, coordsBlock) > -1.0F){ NonNullList drops = NonNullList.create(); - blockToBreak.getDrops(drops, world, pos, state, 0); + blockToBreak.getDrops(drops, world, coordsBlock, state, 0); float chance = WorldUtil.fireFakeHarvestEventsForDropChance(drops, this.world, coordsBlock); if(chance > 0 && this.world.rand.nextFloat() <= chance){