mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-24 22:14:32 +00:00
Lots of error handling.
This commit is contained in:
1 parent
33f8b158a9
commit
ac221275d9
4 files changed
+63
-36
No files matched your search
@@ -81,8 +81,8 @@ public class SpriteHelper
|
||||
initMCSpriteMaps();
|
||||
}
|
||||
if (spriteInfo.containsKey(file)) {
|
||||
FMLCommonHandler.instance().getFMLLogger().severe(String.format("Duplicate attempt to register a sprite file %s for overriding",file));
|
||||
FMLCommonHandler.instance().raiseException(new LoaderException(),"Sprite override alert", true);
|
||||
FMLCommonHandler.instance().getFMLLogger().finer(String.format("Duplicate attempt to register a sprite file %s for overriding -- ignoring",file));
|
||||
return;
|
||||
}
|
||||
spriteInfo.put(file, toBitSet(spriteMap));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user