mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 15:26:51 +00:00
Fix resource loader issues
This commit is contained in:
1 parent
36986d7ddd
commit
62bbeb9471
1 file changed
+5
@@ -135,6 +135,11 @@ public class ResourceLoader<T extends IrisRegistrant>
|
||||
|
||||
public T load(String name, boolean warn)
|
||||
{
|
||||
if(name == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
if(name.trim().isEmpty())
|
||||
{
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user