Call the method through the state instead of the block

This commit is contained in:
Sollace 2019-03-02 18:02:39 +02:00
parent 412153cac4
commit 10545adb66

View file

@ -111,7 +111,7 @@ public class BlockCloudBanister extends BlockCloudFence {
@Override @Override
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) { public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
state = getActualState(state, source, pos); state = state.getActualState(source, pos);
return BOUNDING_BOXES[getBoundingBoxIdx(state)]; return BOUNDING_BOXES[getBoundingBoxIdx(state)];
} }