mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 14:34:28 +00:00
Fix handshaking properly. Also, fix ID syncup. It now will completely freeze the idmap after preinit.
This frozen map is used to inject "new" stuff into existing serverside worlds. Interesting sideeffect: remote servers lacking things will change the client, to also LACK ids for those things. watch for -1 ids in your remap events. Note: idmaps should be considered temporary per server instance. SERVERSTOPPED will restore "startup" state, as will client logout.
This commit is contained in:
1 parent
156a9ae03a
commit
7d3b1250e8
12 files changed
+195
-28
No files matched your search
@@ -146,7 +146,7 @@ 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"));
|
||||
}
|
||||
boolean successfullyInjected = GameData.injectWorldIDMap(dataList);
|
||||
boolean successfullyInjected = GameData.injectWorldIDMap(dataList, true);
|
||||
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