Update to 1.21.1 to get isWaxed API
Remove 1.20 from server compatibility as a result.
This commit is contained in:
parent
b50063685f
commit
2b4e1dd5eb
4
pom.xml
4
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -221,7 +221,7 @@ public class ServerCompatibility {
|
|||
/**
|
||||
* @since 1.24.0
|
||||
*/
|
||||
V1_20(Compatibility.COMPATIBLE),
|
||||
V1_20(Compatibility.INCOMPATIBLE),
|
||||
/**
|
||||
* @since 1.24.0
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue