mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix registry snapshots not reading aliases correctly. Closes #6298
This commit is contained in:
1 parent
1e1644f6d4
commit
b8ea220925
1 file changed
+1
-1
@@ -880,7 +880,7 @@ public class ForgeRegistry<V extends IForgeRegistryEntry<V>> implements IForgeRe
|
||||
list.forEach(e ->
|
||||
{
|
||||
CompoundNBT comp = (CompoundNBT)e;
|
||||
ret.overrides.put(new ResourceLocation(comp.getString("K")), comp.getString("V"));
|
||||
ret.aliases.put(new ResourceLocation(comp.getString("K")), new ResourceLocation(comp.getString("V")));
|
||||
});
|
||||
|
||||
list = nbt.getList("overrides", 10);
|
||||
|
||||
Reference in new issue
Block a user