mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Fixed torches being placed on top of banisters
This commit is contained in:
parent
9a3c8bc672
commit
675cea57b8
1 changed files with 11 additions and 0 deletions
|
@ -96,6 +96,17 @@ public class BlockCloudBanister extends BlockCloudFence {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTopSolid(IBlockState state) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canPlaceTorchOnTop(IBlockState state, IBlockAccess world, BlockPos pos) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
|
||||
state = getActualState(state, source, pos);
|
||||
return BOUNDING_BOXES[getBoundingBoxIdx(state)];
|
||||
|
|
Loading…
Reference in a new issue