9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 12:09:07 +00:00

+3 depth dir finding for objects

This commit is contained in:
Daniel Mills
2020-08-20 22:10:17 -04:00
parent bff242dc99
commit ab89d6a22f
4 changed files with 13 additions and 11 deletions

View File

@@ -1,6 +0,0 @@
package com.volmit.iris.util;
public class ObjectConverter
{
}

View File

@@ -127,6 +127,17 @@ public class ObjectResourceLoader extends ResourceLoader<IrisObject>
{
m.add(j.getName() + "/" + k.getName().replaceAll("\\Q.iob\\E", ""));
}
else if(k.isDirectory())
{
for(File l : k.listFiles())
{
if(l.isFile() && l.getName().endsWith(".iob"))
{
m.add(j.getName() + "/" + k.getName() + "/" + l.getName().replaceAll("\\Q.iob\\E", ""));
}
}
}
}
}
}