Fix NPE in MissingMappings event. Closes #4067
This commit is contained in:
parent
efd8b38be9
commit
87054b01fb
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue