mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 06:11:06 +00:00
Fix resource loader issues
This commit is contained in:
@@ -135,6 +135,11 @@ public class ResourceLoader<T extends IrisRegistrant>
|
|||||||
|
|
||||||
public T load(String name, boolean warn)
|
public T load(String name, boolean warn)
|
||||||
{
|
{
|
||||||
|
if(name == null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
if(name.trim().isEmpty())
|
if(name.trim().isEmpty())
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user