Update to 1.21.1 to get isWaxed API

Remove 1.20 from server compatibility as a result.
This commit is contained in:
tastybento 2023-06-24 11:11:51 -07:00
parent b50063685f
commit 2b4e1dd5eb
3 changed files with 4 additions and 4 deletions

View File

@ -73,10 +73,10 @@
<postgresql.version>42.2.18</postgresql.version>
<hikaricp.version>5.0.1</hikaricp.version>
<!-- More visible way to change dependency versions -->
<spigot.version>1.20-R0.1-SNAPSHOT</spigot.version>
<spigot.version>1.20.1-R0.1-SNAPSHOT</spigot.version>
<!-- Might differ from the last Spigot release for short periods
of time -->
<paper.version>1.20-R0.1-SNAPSHOT</paper.version>
<paper.version>1.20.1-R0.1-SNAPSHOT</paper.version>
<bstats.version>3.0.0</bstats.version>
<vault.version>1.7.1</vault.version>
<placeholderapi.version>2.10.9</placeholderapi.version>

View File

@ -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;

View File

@ -221,7 +221,7 @@ public class ServerCompatibility {
/**
* @since 1.24.0
*/
V1_20(Compatibility.COMPATIBLE),
V1_20(Compatibility.INCOMPATIBLE),
/**
* @since 1.24.0
*/