Fix NPE in MissingMappings event. Closes #4067

This commit is contained in:
LexManos 2017-06-24 14:51:46 -07:00
parent efd8b38be9
commit 87054b01fb

View file

@ -99,6 +99,11 @@ public class RegistryEvent<T extends IForgeRegistryEntry<T>> extends GenericEven
this.mappings = ImmutableList.copyOf(missed);
}
public void setModContainer(ModContainer mod)
{
this.activeMod = mod;
}
public ResourceLocation getName()
{
return this.name;