Builds against 1.19.1

This commit is contained in:
2022-08-05 12:01:08 +02:00
parent 7dd201d0d0
commit a963733734
2 changed files with 4 additions and 1 deletions

View File

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