It's an IllegalState not an IllegalArgument *sigh*

This commit is contained in:
cpw 2015-03-31 15:11:39 -04:00
parent 0bff21315c
commit 0b8ff5890a
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ public class FMLContainer extends DummyModContainer implements WorldAccessContai
try
{
failedElements = GameData.injectWorldIDMap(dataList, blockedIds, blockAliases, itemAliases, blockSubstitutions, itemSubstitutions, true, true);
} catch (IllegalArgumentException ex)
} catch (IllegalStateException ex)
{
// In the case of IllegalArgumentException the state map is utterly toast. We should immediately abort
String msg = "The world state is utterly corrupted and this save is NOT loadable\n\n"