diff --git a/pom.xml b/pom.xml index 1f2a80388..d7c1a3747 100644 --- a/pom.xml +++ b/pom.xml @@ -73,10 +73,10 @@ 42.2.18 5.0.1 - 1.20-R0.1-SNAPSHOT + 1.20.1-R0.1-SNAPSHOT - 1.20-R0.1-SNAPSHOT + 1.20.1-R0.1-SNAPSHOT 3.0.0 1.7.1 2.10.9 diff --git a/src/main/java/world/bentobox/bentobox/listeners/flags/protection/BlockInteractionListener.java b/src/main/java/world/bentobox/bentobox/listeners/flags/protection/BlockInteractionListener.java index f906d2d8f..f7bcdc286 100644 --- a/src/main/java/world/bentobox/bentobox/listeners/flags/protection/BlockInteractionListener.java +++ b/src/main/java/world/bentobox/bentobox/listeners/flags/protection/BlockInteractionListener.java @@ -135,7 +135,7 @@ public class BlockInteractionListener extends FlagListener return; } - if (Tag.SIGNS.isTagged(type) && block instanceof Sign sign && sign.isEditable()) { + if (Tag.SIGNS.isTagged(type) && block.getState() instanceof Sign sign && !sign.isWaxed()) { // If waxed, then sign cannot be edited otherwise check this.checkIsland(e, player, loc, Flags.SIGN_EDITING); return; diff --git a/src/main/java/world/bentobox/bentobox/versions/ServerCompatibility.java b/src/main/java/world/bentobox/bentobox/versions/ServerCompatibility.java index 664003420..feb5a270e 100644 --- a/src/main/java/world/bentobox/bentobox/versions/ServerCompatibility.java +++ b/src/main/java/world/bentobox/bentobox/versions/ServerCompatibility.java @@ -221,7 +221,7 @@ public class ServerCompatibility { /** * @since 1.24.0 */ - V1_20(Compatibility.COMPATIBLE), + V1_20(Compatibility.INCOMPATIBLE), /** * @since 1.24.0 */