From 3389fde9424218b2b6ccc5373b43bd0d11a947c3 Mon Sep 17 00:00:00 2001 From: Ziggy Date: Sun, 13 Oct 2019 13:02:24 +0200 Subject: [PATCH] 180: Fixed improperly displayed dance animations --- .../services/gameplay/entertainment/EntertainmentService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/projectswg/holocore/services/gameplay/entertainment/EntertainmentService.java b/src/main/java/com/projectswg/holocore/services/gameplay/entertainment/EntertainmentService.java index 7fbcb235..1980dd17 100644 --- a/src/main/java/com/projectswg/holocore/services/gameplay/entertainment/EntertainmentService.java +++ b/src/main/java/com/projectswg/holocore/services/gameplay/entertainment/EntertainmentService.java @@ -287,7 +287,7 @@ public class EntertainmentService extends Service { } private void startDancing(CreatureObject dancer, String danceName) { - dancer.setAnimation("dance_" + DataLoader.Companion.performances().getPerformanceByName(danceName).getPerformanceName()); + dancer.setAnimation("dance_" + DataLoader.Companion.performances().getPerformanceByName(danceName).getDanceVisualId()); dancer.setPerformanceId(0); // 0 - anything else will make it look like we're playing music dancer.setPerformanceCounter(0); dancer.setPerforming(true);