mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Bugfix for B3DLoader
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user