mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 23:27:59 +01:00
Call the method through the state instead of the block
This commit is contained in:
parent
412153cac4
commit
10545adb66
1 changed files with 1 additions and 1 deletions
|
@ -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)];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue