Builds against 1.19.1
This commit is contained in:
parent
7dd201d0d0
commit
a963733734
2
pom.xml
2
pom.xml
@ -75,7 +75,7 @@
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.18.1-R0.1-SNAPSHOT</version>
|
||||
<version>1.19.1-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
@ -89,6 +89,9 @@ public class SignEventListener implements Listener {
|
||||
return;
|
||||
}
|
||||
ItemStack heldItem = playerInventory.getItem(hand);
|
||||
if (heldItem == null) {
|
||||
return;
|
||||
}
|
||||
Material heldItemType = heldItem.getType();
|
||||
|
||||
if (event.getAction() == Action.RIGHT_CLICK_BLOCK && (Tag.SIGNS.isTagged(clickedBlockType) ||
|
||||
|
Loading…
Reference in New Issue
Block a user