Merge pull request #1941 from xxmicloxx/xxmicloxx-patch-b3dloader

Bugfix for B3DLoader
This commit is contained in:
LexManos committed 2015-06-17 16:52:08 -07:00
commit bf63879a92
1 file changed
+2 -2
@@ -126,12 +126,12 @@ public class B3DLoader implements ICustomModelLoader
}
B3DModel.Parser parser = new B3DModel.Parser(resource.getInputStream());
B3DModel model = parser.parse();
cache.put(modelLocation, model);
cache.put(file, model);
}
catch(IOException e)
{
//FMLLog.log(Level.ERROR, e, "Exception loading model %s with B3D loader, skipping", modelLocation);
cache.put(modelLocation, null);
cache.put(file, null);
throw e;
}
}