mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix NPE in MissingMappings event. Closes #4067
This commit is contained in:
1 parent
efd8b38be9
commit
87054b01fb
1 file changed
+5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user