From 5cb45200ac7c670328a83b9442df12fcc34dbc9c Mon Sep 17 00:00:00 2001 From: Bernhard Bonigl Date: Tue, 23 Feb 2016 12:29:34 +0100 Subject: [PATCH] Fix usage of Java8 only constructor --- .../java/slimeknights/mantle/util/RecipeMatchRegistry.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/slimeknights/mantle/util/RecipeMatchRegistry.java b/src/main/java/slimeknights/mantle/util/RecipeMatchRegistry.java index 9cf2458..c0fa242 100644 --- a/src/main/java/slimeknights/mantle/util/RecipeMatchRegistry.java +++ b/src/main/java/slimeknights/mantle/util/RecipeMatchRegistry.java @@ -15,10 +15,9 @@ import java.util.PriorityQueue; /** * Contains a set of matches. Allows you to easily find if a set of itemstacks matches one of them. */ -// MANTLE public class RecipeMatchRegistry { - protected final PriorityQueue items = new PriorityQueue(RecipeComparator.INSTANCE); + protected final PriorityQueue items = new PriorityQueue(0, RecipeComparator.INSTANCE); public RecipeMatch.Match matches(Collection stacks) { return matches(stacks.toArray(new ItemStack[stacks.size()]));