mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix overrides not being read from the server registry snapshot (#4224)
This commit is contained in:
1 parent
e59b979e1b
commit
434f95c66e
3 files changed
+17
-3
No files matched your search
+1
@@ -130,6 +130,7 @@ enum FMLHandshakeClientState implements IHandshakeState<FMLHandshakeClientState>
|
||||
ForgeRegistry.Snapshot entry = new ForgeRegistry.Snapshot();
|
||||
entry.ids.putAll(pkt.getIdMap());
|
||||
entry.dummied.addAll(pkt.getDummied());
|
||||
entry.overrides.putAll(pkt.getOverrides());
|
||||
snap.put(pkt.getName(), entry);
|
||||
|
||||
if (pkt.hasMore())
|
||||
|
||||
@@ -261,6 +261,11 @@ public abstract class FMLHandshakeMessage {
|
||||
return dummied;
|
||||
}
|
||||
|
||||
public Map<ResourceLocation, String> getOverrides()
|
||||
{
|
||||
return overrides;
|
||||
}
|
||||
|
||||
public ResourceLocation getName()
|
||||
{
|
||||
return this.name;
|
||||
|
||||
Reference in new issue
Block a user