mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Fix the fix
This commit is contained in:
parent
9d1cb8e45a
commit
bddce5fcd6
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue