mirror of
https://bitbucket.org/projectswg/holocore.git
synced 2026-01-16 23:04:20 -05:00
Merged in M4SS/holocore/180 (pull request #668)
#180: Fixed improperly displayed dance animations
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user