mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Fix offset in AdvancedModelLoader. *doh*
This commit is contained in:
1 parent
cb67c72cd7
commit
a09c5ad484
1 file changed
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user