Fix FMLMissingMappingsEvent.get
This commit is contained in:
parent
e9ca678ab3
commit
180c605570
1 changed files with 1 additions and 7 deletions
|
@ -74,7 +74,6 @@ public class FMLMissingMappingsEvent extends FMLEvent {
|
|||
}
|
||||
private ListMultimap<String,MissingMapping> missing;
|
||||
private ModContainer activeContainer;
|
||||
private List<MissingMapping> currentList;
|
||||
|
||||
public FMLMissingMappingsEvent(ListMultimap<String,MissingMapping> missingMappings)
|
||||
{
|
||||
|
@ -85,7 +84,6 @@ public class FMLMissingMappingsEvent extends FMLEvent {
|
|||
{
|
||||
super.applyModContainer(activeContainer);
|
||||
this.activeContainer = activeContainer;
|
||||
this.currentList = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -94,10 +92,6 @@ public class FMLMissingMappingsEvent extends FMLEvent {
|
|||
*/
|
||||
public List<MissingMapping> get()
|
||||
{
|
||||
if (currentList == null)
|
||||
{
|
||||
currentList = ImmutableList.copyOf(missing.removeAll(activeContainer.getModId()));
|
||||
}
|
||||
return currentList;
|
||||
return ImmutableList.copyOf(missing.get(activeContainer.getModId()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue