mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 03:25:18 +00:00
More tweaking on id stuffs at worldload
This commit is contained in:
1 parent
31ea100b29
commit
3e76dfba34
6 files changed
+82
-14
No files matched your search
@@ -146,7 +146,11 @@ public class FMLContainer extends DummyModContainer implements WorldAccessContai
|
||||
NBTTagCompound dataTag = list.func_150305_b(i);
|
||||
dataList.put(dataTag.func_74779_i("K"), dataTag.func_74762_e("V"));
|
||||
}
|
||||
GameData.injectWorldIDMap(dataList);
|
||||
boolean successfullyInjected = GameData.injectWorldIDMap(dataList);
|
||||
if (!successfullyInjected)
|
||||
{
|
||||
throw new RuntimeException("Failed to load the world - there are fatal block and item id issues");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user