mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-17 07:02:54 -04:00
Removed unnecessary code from CustomObjectService
This commit is contained in:
-10
@@ -101,16 +101,6 @@ public class CustomObjectService extends Service {
|
||||
for (String iff : objects) {
|
||||
mapping.put(prettyIff(iff), iff.replace(File.separatorChar, '/'));
|
||||
}
|
||||
// File [] children = start.listFiles();
|
||||
// assert children != null;
|
||||
// for (File file : children) {
|
||||
// if (file.isDirectory()) {
|
||||
// mapping.put(file.getName(), createListBoxRecursive(file));
|
||||
// } else if (file.isFile() && file.getName().startsWith("shared_") && file.getName().endsWith(".iff")) {
|
||||
// String iff = file.getAbsolutePath().replace(new File("clientdata").getAbsolutePath()+File.separator, "");
|
||||
// mapping.put(prettyIff(iff), iff.replace(File.separatorChar, '/'));
|
||||
// }
|
||||
// }
|
||||
return new ListBoxRecursive(mapping);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user