mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-20 10:03:02 -04:00
Fixed an issue where songs were being loaded into EntertainmentService.danceMap
This commit is contained in:
@@ -34,9 +34,15 @@ public class EntertainmentService extends Service {
|
||||
DatatableData performanceTable = (DatatableData) ClientFactory.getInfoFromFile("datatables/performance/performance.iff");
|
||||
|
||||
for (int i = 0; i < performanceTable.getRowCount(); i++) {
|
||||
danceMap.put((String) performanceTable.getCell(i, 0), (int) performanceTable.getCell(i, 5)); // performanceName, danceVisualId
|
||||
String requiredDance = (String) performanceTable.getCell(i, 4);
|
||||
|
||||
if(!requiredDance.isEmpty()) {
|
||||
danceMap.put((String) performanceTable.getCell(i, 0), (int) performanceTable.getCell(i, 5)); // performanceName, danceVisualId
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
System.out.println(danceMap);
|
||||
|
||||
return super.initialize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user