Fix offset in AdvancedModelLoader. *doh*

This commit is contained in:
Christian 2013-04-10 20:27:29 -04:00
parent cb67c72cd7
commit a09c5ad484

View file

@ -52,7 +52,7 @@ public class AdvancedModelLoader {
FMLLog.severe("The resource name %s is not valid", resourceName);
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);
if (loader == null)
{