Fix offset in AdvancedModelLoader. *doh*
This commit is contained in:
parent
cb67c72cd7
commit
a09c5ad484
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public class AdvancedModelLoader {
|
||||||
FMLLog.severe("The resource name %s is not valid", resourceName);
|
FMLLog.severe("The resource name %s is not valid", resourceName);
|
||||||
throw new IllegalArgumentException("The resource name is not valid");
|
throw new IllegalArgumentException("The resource name is not valid");
|
||||||
}
|
}
|
||||||
String suffix = resourceName.substring(i);
|
String suffix = resourceName.substring(i+1);
|
||||||
IModelCustomLoader loader = instances.get(suffix);
|
IModelCustomLoader loader = instances.get(suffix);
|
||||||
if (loader == null)
|
if (loader == null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue