diff --git a/build.gradle b/build.gradle index ed376c18f2..9224787651 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ apply plugin: 'org.spongepowered.mixin' apply plugin: 'org.parchmentmc.librarian.forgegradle' apply plugin: 'eclipse' -version = '1.9.4-beta1' +version = '1.9.5' group = 'net.geforcemods.securitycraft' archivesBaseName = 'securitycraft' diff --git a/src/main/java/net/geforcemods/securitycraft/blocks/AbstractKeypadFurnaceBlock.java b/src/main/java/net/geforcemods/securitycraft/blocks/AbstractKeypadFurnaceBlock.java index 60ce075f42..3d86cde10b 100644 --- a/src/main/java/net/geforcemods/securitycraft/blocks/AbstractKeypadFurnaceBlock.java +++ b/src/main/java/net/geforcemods/securitycraft/blocks/AbstractKeypadFurnaceBlock.java @@ -68,7 +68,7 @@ public VoxelShape getShape(BlockState state, BlockGetter level, BlockPos pos, Co if (disguisedState.getBlock() != this) return disguisedState.getShape(level, pos, ctx); - else + else { return switch (disguisedState.getValue(FACING)) { case NORTH -> disguisedState.getValue(OPEN) ? NORTH_OPEN : NORTH_CLOSED; case EAST -> disguisedState.getValue(OPEN) ? EAST_OPEN : EAST_CLOSED; @@ -76,6 +76,7 @@ public VoxelShape getShape(BlockState state, BlockGetter level, BlockPos pos, Co case WEST -> disguisedState.getValue(OPEN) ? WEST_OPEN : WEST_CLOSED; default -> Shapes.block(); }; + } } @Override @@ -84,7 +85,7 @@ public VoxelShape getCollisionShape(BlockState state, BlockGetter level, BlockPo if (disguisedState.getBlock() != this) return disguisedState.getShape(level, pos, ctx); - else + else { return switch (disguisedState.getValue(FACING)) { case NORTH -> NORTH_COLLISION; case EAST -> EAST_COLLISION; @@ -92,6 +93,7 @@ public VoxelShape getCollisionShape(BlockState state, BlockGetter level, BlockPo case WEST -> WEST_COLLISION; default -> Shapes.block(); }; + } } @Override