Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,12 @@ private boolean checkSpecialCases(Event e, Player player, Block block) {
return true;
}
if (Util.isVersionAtLeast("1.21.10")) {
// Wooden shelves
if (Tag.WOODEN_SHELVES.isTagged(type)) {
this.checkIsland(e, player, loc, Flags.BOOKSHELF);
return true;
}

// Prevent animation of copper golems. Use break blocks for now. This could potentiall have it's own flag in the future.
if (Tag.COPPER_GOLEM_STATUES.isTagged(type)) {
this.checkIsland(e, player, loc, Flags.BREAK_BLOCKS);
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/locales/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -989,11 +989,11 @@ protection:
&a entering into boats.
hint: No boat interaction allowed
BOOKSHELF:
name: Bookshelves
name: Shelves
description: |-
&a Allow to place books
&a or to take books.
hint: cannot place a book or take a book.
&a Allow to place item
&a or to take item.
hint: cannot place an item or take an item.
BREAK_BLOCKS:
description: Toggle breaking
name: Break blocks
Expand Down