Fixed DimDoor block bounds.
This commit is contained in:
parent
b38393e29e
commit
6cd9fe2760
1 changed files with 3 additions and 1 deletions
|
@ -114,7 +114,9 @@ public abstract class BaseDimDoor extends BlockDoor implements IDimDoor, ITileEn
|
|||
|
||||
@Override
|
||||
public void setBlockBoundsBasedOnState(IBlockAccess worldIn, BlockPos pos) {
|
||||
this.setDoorRotation(worldIn.getBlockState(pos));
|
||||
IBlockState downState = worldIn.getBlockState(pos.down());
|
||||
if(downState.getBlock() == this) setDoorRotation(downState);
|
||||
else setDoorRotation(worldIn.getBlockState(pos));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue