1
0
Fork 0
mirror of https://github.com/Sollace/Unicopia.git synced 2025-04-19 01:24:04 +02:00

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
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
state = getActualState(state, source, pos);
state = state.getActualState(source, pos);
return BOUNDING_BOXES[getBoundingBoxIdx(state)];
}