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:
@@ -1,6 +0,0 @@
|
||||
package com.volmit.iris.util;
|
||||
|
||||
public class ObjectConverter
|
||||
{
|
||||
|
||||
}
|
||||
@@ -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", ""));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user