Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ckscor3 committed Jan 7, 2023
1 parent 475f04a commit 98b35df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,15 @@ 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;
case SOUTH -> disguisedState.getValue(OPEN) ? SOUTH_OPEN : SOUTH_CLOSED;
case WEST -> disguisedState.getValue(OPEN) ? WEST_OPEN : WEST_CLOSED;
default -> Shapes.block();
};
}
}

@Override
Expand All @@ -84,14 +85,15 @@ 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;
case SOUTH -> SOUTH_COLLISION;
case WEST -> WEST_COLLISION;
default -> Shapes.block();
};
}
}

@Override
Expand Down

0 comments on commit 98b35df

Please sign in to comment.