It's an IllegalState not an IllegalArgument *sigh*
This commit is contained in:
parent
0bff21315c
commit
0b8ff5890a
|
@ -275,7 +275,7 @@ public class FMLContainer extends DummyModContainer implements WorldAccessContai
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
failedElements = GameData.injectWorldIDMap(dataList, blockedIds, blockAliases, itemAliases, blockSubstitutions, itemSubstitutions, true, true);
|
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
|
// 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"
|
String msg = "The world state is utterly corrupted and this save is NOT loadable\n\n"
|
||||||
|
|
Loading…
Reference in New Issue