This commit is contained in:
pahimar 2015-03-23 07:36:32 -04:00
parent a9bf0e6bea
commit 90e89673d3

View file

@ -530,6 +530,8 @@ public class EnergyValueRegistry implements INBTTaggable, JsonSerializer<EnergyV
{
List stacksInRange = new ArrayList<WrappedStack>();
if (valueMappings != null)
{
SortedMap<EnergyValue, List<WrappedStack>> tailMap = energyValueRegistry.valueMappings.tailMap(start);
SortedMap<EnergyValue, List<WrappedStack>> headMap = energyValueRegistry.valueMappings.headMap(finish);
@ -571,6 +573,7 @@ public class EnergyValueRegistry implements INBTTaggable, JsonSerializer<EnergyV
}
}
}
}
return stacksInRange;
}