Bugfix for B3DLoader

This commit is contained in:
xxmicloxx committed 2015-06-17 19:48:51 +02:00
1 parent e94288bbb1
commit b45c90ceb8
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;
}
}