diff --git a/src/main/java/com/sonicether/soundphysics/SoundPhysics.java b/src/main/java/com/sonicether/soundphysics/SoundPhysics.java index 51ab3752..43939439 100644 --- a/src/main/java/com/sonicether/soundphysics/SoundPhysics.java +++ b/src/main/java/com/sonicether/soundphysics/SoundPhysics.java @@ -327,7 +327,7 @@ public static void setLastSoundCategory(final SoundCategory sc) { * CALLED BY ASM INJECTED CODE! */ public static void setLastSoundName(final String soundName, final String eventName) { - lastSoundName = soundName+"||"+eventName; // Quick hack to check the event and sound name + lastSoundName = eventName+"|"+soundName.split(":")[1]; // Quick and dirty hack to check the event and sound name } /**