fix wrong performance id check for dances

This commit is contained in:
darkk1138
2013-12-10 23:14:14 +01:00
parent 140848e3ab
commit 5f616ed5f0
3 changed files with 11 additions and 2 deletions
+4
View File
@@ -299,6 +299,10 @@ public class EntertainmentService implements INetworkDispatch {
return performances.get(name);
}
public Performance getPerformanceByIndex(int index) {
return performancesByIndex.get(index);
}
public void startPerformance(CreatureObject actor, int performanceId, int performanceCounter, String skillName, boolean isDance) {
actor.setPerformanceId(performanceId, isDance);
actor.setPerformanceCounter(performanceCounter);