From bddce5fcd6efccedb3e0941bbf70c6b25cde001a Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 7 May 2016 20:24:56 +0200 Subject: [PATCH] Fix the fix --- .../actuallyadditions/mod/tile/TileEntityFluidCollector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFluidCollector.java b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFluidCollector.java index 7b94a173e..0b6f2fec9 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFluidCollector.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityFluidCollector.java @@ -88,8 +88,8 @@ public class TileEntityFluidCollector extends TileEntityBase implements IFluidHa if(block != null){ BlockPos offsetPos = this.pos.offset(sideToManipulate); Block blockPresent = PosUtil.getBlock(offsetPos, this.worldObj); - boolean replaceable = !(blockPresent instanceof BlockLiquid) && !(blockPresent instanceof IFluidBlock) && !blockPresent.isReplaceable(this.worldObj, offsetPos); - if(replaceable){ + boolean placeable = !(blockPresent instanceof BlockLiquid) && !(blockPresent instanceof IFluidBlock) && blockPresent.isReplaceable(this.worldObj, offsetPos); + if(placeable){ PosUtil.setBlock(offsetPos, this.worldObj, block, 0, 3); this.tank.drain(Util.BUCKET, true); }