From e958c91a4c5c0d6ee6be7fae77d393a4ab51732e Mon Sep 17 00:00:00 2001 From: Navoei Date: Sun, 27 Jul 2025 15:53:13 -0500 Subject: [PATCH] Remove component from goat horns Removed the hidden component for jukeboxplayable from goat horns. --- .../customdiscsplugin/command/SubCommands/CreateSubCommand.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/me/Navoei/customdiscsplugin/command/SubCommands/CreateSubCommand.java b/src/main/java/me/Navoei/customdiscsplugin/command/SubCommands/CreateSubCommand.java index dca4c3d..b7664ec 100644 --- a/src/main/java/me/Navoei/customdiscsplugin/command/SubCommands/CreateSubCommand.java +++ b/src/main/java/me/Navoei/customdiscsplugin/command/SubCommands/CreateSubCommand.java @@ -131,7 +131,6 @@ public class CreateSubCommand extends CommandAPICommand { item.setData(DataComponentTypes.INSTRUMENT, customInstrument); ItemStack disc = new ItemStack(player.getInventory().getItemInMainHand()); - disc.setData(DataComponentTypes.TOOLTIP_DISPLAY, TooltipDisplay.tooltipDisplay().addHiddenComponents(DataComponentTypes.JUKEBOX_PLAYABLE).build()); ItemMeta meta = disc.getItemMeta(); PersistentDataContainer data = meta.getPersistentDataContainer(); data.set(new NamespacedKey(this.plugin, "customhorn"), PersistentDataType.STRING, filename);