From b2d3119833252806f3d05cfd37de9bac37dbd9e2 Mon Sep 17 00:00:00 2001 From: djpadbit Date: Thu, 3 Jan 2019 15:25:21 +0100 Subject: [PATCH] Just a tid bit cleaner but still a dirt hack Signed-off-by: djpadbit --- src/main/java/com/sonicether/soundphysics/SoundPhysics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } /**