mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Fix MissingMapping REMAP action. Closes #4069
This commit is contained in:
1 parent
7281708df6
commit
d0b24313d3
2 files changed
+6
-3
No files matched your search
@@ -751,7 +751,8 @@ public class ForgeRegistry<V extends IForgeRegistryEntry<V>> implements IForgeRe
|
||||
public MissingMappings<?> getMissingEvent(ResourceLocation name, Map<ResourceLocation, Integer> map)
|
||||
{
|
||||
List<MissingMappings.Mapping<V>> lst = Lists.newArrayList();
|
||||
map.forEach((rl, id) -> lst.add(new MissingMappings.Mapping<V>(this, rl, id)));
|
||||
ForgeRegistry<V> pool = RegistryManager.ACTIVE.getRegistry(name);
|
||||
map.forEach((rl, id) -> lst.add(new MissingMappings.Mapping<V>(this, pool, rl, id)));
|
||||
return new MissingMappings<V>(name, this, lst);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user