From 2b286bd481e6a8deed2011836fd224e823b8c509 Mon Sep 17 00:00:00 2001 From: RoccoDev Date: Sun, 27 Apr 2025 20:31:48 +0200 Subject: [PATCH] Fix pling instrument in 1.8 --- .../java/com/xxmicloxx/NoteBlockAPI/model/CustomInstrument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/xxmicloxx/NoteBlockAPI/model/CustomInstrument.java b/src/main/java/com/xxmicloxx/NoteBlockAPI/model/CustomInstrument.java index 2c4f5dd..5b43173 100644 --- a/src/main/java/com/xxmicloxx/NoteBlockAPI/model/CustomInstrument.java +++ b/src/main/java/com/xxmicloxx/NoteBlockAPI/model/CustomInstrument.java @@ -21,7 +21,7 @@ public CustomInstrument(byte index, String name, String soundFileName) { this.index = index; this.name = name; this.soundFileName = soundFileName.replaceAll(".ogg", ""); - if (this.soundFileName.equalsIgnoreCase("pling")){ + if (this.soundFileName.equalsIgnoreCase("pling") || this.soundFileName.equalsIgnoreCase("block.note_block.pling")) { this.sound = Sound.NOTE_PLING.bukkitSound(); } }