Fix MissingMapping REMAP action. Closes #4069

This commit is contained in:
LexManos committed 2017-06-27 16:56:42 -07:00
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);
}