Skip to content

Commit

Permalink
Fix sitting on tables being possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Aug 19, 2024
1 parent 19a52b3 commit 43e1a14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/src/main/java/juuxel/adorn/block/TableBlock.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ public String getDescriptionKey() {
return DESCRIPTION_KEY;
}

@Override
protected boolean isSittingEnabled() {
return false;
}

@Override
protected boolean canConnectTo(BlockState state, Direction sideOfSelf) {
return state.getBlock() instanceof TableBlock;
Expand Down

0 comments on commit 43e1a14

Please sign in to comment.