mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 19:46:42 +01:00
Fixed chitin blocks not orienting constently
This commit is contained in:
parent
abbba5dc68
commit
f5cfe302a5
1 changed files with 1 additions and 3 deletions
|
@ -40,9 +40,7 @@ public class ChiselledChitinBlock extends Block {
|
|||
@Nullable
|
||||
public BlockState getPlacementState(ItemPlacementContext context) {
|
||||
PlayerEntity player = context.getPlayer();
|
||||
|
||||
|
||||
Direction direction = player == null ? context.getSide() : context.getPlayerLookDirection().getOpposite();
|
||||
Direction direction = context.getSide();
|
||||
|
||||
if (player != null && player.isSneaking()) {
|
||||
direction = direction.getOpposite();
|
||||
|
|
Loading…
Reference in a new issue