From a09c5ad484b7ae4b9d550db22dc6da9a154ab55c Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 10 Apr 2013 20:27:29 -0400 Subject: [PATCH] Fix offset in AdvancedModelLoader. *doh* --- client/net/minecraftforge/client/model/AdvancedModelLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/net/minecraftforge/client/model/AdvancedModelLoader.java b/client/net/minecraftforge/client/model/AdvancedModelLoader.java index d2e888237..f5137d1dd 100644 --- a/client/net/minecraftforge/client/model/AdvancedModelLoader.java +++ b/client/net/minecraftforge/client/model/AdvancedModelLoader.java @@ -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) {