PedestalBlockEntity sync fix

This commit is contained in:
Aleksey 2021-03-28 15:54:22 +03:00
parent de6100f9be
commit 14a6803c88
4 changed files with 24 additions and 22 deletions

View file

@ -283,10 +283,8 @@ public class PedestalBlock extends BlockBaseNotFull implements BlockEntityProvid
public boolean isPlaceable(BlockState state) {
if (!state.isOf(this)) return false;
PedestalState currentState = state.get(STATE);
return currentState != PedestalState.BOTTOM &&
currentState != PedestalState.COLUMN &&
currentState != PedestalState.PILLAR &&
currentState != PedestalState.COLUMN_TOP;
return currentState == PedestalState.DEFAULT ||
currentState == PedestalState.PEDESTAL_TOP;
}
@Override