Change RecipeMatchRegistries to always consider higher amount recipes first. This ensures that all possible matches are found when calling matches() consecutively

This commit is contained in:
Bernhard Bonigl committed 2016-02-12 12:51:50 +01:00
1 parent 6cc19b356e
commit dba8800040
2 files changed
+17 -2

No files matched your search

@@ -60,7 +60,7 @@ public class GuiMultiModule extends GuiContainer { //implements INEIGuiHandler {
}
public List<Rectangle> getModuleAreas() {
List<Rectangle> areas = new ArrayList<>(modules.size());
List<Rectangle> areas = new ArrayList<Rectangle>(modules.size());
for (GuiModule module : modules) {
areas.add(module.getArea());
}