mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-24 05:44:46 +00:00
Fix usage of Java8 only constructor
This commit is contained in:
1 parent
a34a06093b
commit
5cb45200ac
1 file changed
+1
-2
@@ -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<RecipeMatch> items = new PriorityQueue<RecipeMatch>(RecipeComparator.INSTANCE);
|
||||
protected final PriorityQueue<RecipeMatch> items = new PriorityQueue<RecipeMatch>(0, RecipeComparator.INSTANCE);
|
||||
|
||||
public RecipeMatch.Match matches(Collection<ItemStack> stacks) {
|
||||
return matches(stacks.toArray(new ItemStack[stacks.size()]));
|
||||
|
||||
Reference in new issue
Block a user