mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +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){
|
if(block != null){
|
||||||
BlockPos offsetPos = this.pos.offset(sideToManipulate);
|
BlockPos offsetPos = this.pos.offset(sideToManipulate);
|
||||||
Block blockPresent = PosUtil.getBlock(offsetPos, this.worldObj);
|
Block blockPresent = PosUtil.getBlock(offsetPos, this.worldObj);
|
||||||
boolean replaceable = !(blockPresent instanceof BlockLiquid) && !(blockPresent instanceof IFluidBlock) && !blockPresent.isReplaceable(this.worldObj, offsetPos);
|
boolean placeable = !(blockPresent instanceof BlockLiquid) && !(blockPresent instanceof IFluidBlock) && blockPresent.isReplaceable(this.worldObj, offsetPos);
|
||||||
if(replaceable){
|
if(placeable){
|
||||||
PosUtil.setBlock(offsetPos, this.worldObj, block, 0, 3);
|
PosUtil.setBlock(offsetPos, this.worldObj, block, 0, 3);
|
||||||
this.tank.drain(Util.BUCKET, true);
|
this.tank.drain(Util.BUCKET, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue