This commit is contained in:
kavarobot3
2025-08-19 15:40:45 +03:00
committed by GitHub
parent b936a9505b
commit 9ffdff8cdf

View File

@@ -163,6 +163,7 @@ public class CreateSubCommand extends CommandAPICommand {
data.set(new NamespacedKey(this.plugin, "headlore"), PersistentDataType.STRING, serialized); data.set(new NamespacedKey(this.plugin, "headlore"), PersistentDataType.STRING, serialized);
player.getInventory().getItemInMainHand().setItemMeta(meta); player.getInventory().getItemInMainHand().setItemMeta(meta);
} }
player.sendMessage(LegacyComponentSerializer.legacyAmpersand().deserialize(Lang.PREFIX + Lang.CREATE_FILENAME.toString().replace("%filename%", filename))); player.sendMessage(LegacyComponentSerializer.legacyAmpersand().deserialize(Lang.PREFIX + Lang.CREATE_FILENAME.toString().replace("%filename%", filename)));
player.sendMessage(LegacyComponentSerializer.legacyAmpersand().deserialize(Lang.PREFIX + Lang.CREATE_CUSTOM_NAME.toString().replace("%custom_name%", song_name))); player.sendMessage(LegacyComponentSerializer.legacyAmpersand().deserialize(Lang.PREFIX + Lang.CREATE_CUSTOM_NAME.toString().replace("%custom_name%", song_name)));
return 1; return 1;