Fix registry snapshots not reading aliases correctly. Closes #6298
This commit is contained in:
parent
1e1644f6d4
commit
b8ea220925
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue