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

Fix resource loader issues

This commit is contained in:
Daniel Mills
2021-01-12 05:41:08 -05:00
parent 36986d7ddd
commit 62bbeb9471

View File

@@ -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;