SPIGOT-7846: Fix ItemMeta for hanging signs

This commit is contained in:
md_5 2024-07-24 19:40:50 +10:00
parent 76f59e3155
commit 20d107e467
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -258,7 +258,7 @@ public final class CraftItemMetas {
if (itemType == ItemType.FURNACE || itemType == ItemType.CHEST
|| itemType == ItemType.TRAPPED_CHEST || itemType == ItemType.JUKEBOX
|| itemType == ItemType.DISPENSER || itemType == ItemType.DROPPER
|| (itemType.hasBlockType() && Tag.SIGNS.isTagged(itemType.getBlockType().asMaterial())) || itemType == ItemType.SPAWNER
|| (itemType.hasBlockType() && Tag.ALL_SIGNS.isTagged(itemType.getBlockType().asMaterial())) || itemType == ItemType.SPAWNER
|| itemType == ItemType.BREWING_STAND || itemType == ItemType.ENCHANTING_TABLE
|| itemType == ItemType.COMMAND_BLOCK || itemType == ItemType.REPEATING_COMMAND_BLOCK
|| itemType == ItemType.CHAIN_COMMAND_BLOCK || itemType == ItemType.BEACON