mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-20 20:12:28 +00:00
Fix priority queue crash
This commit is contained in:
1 parent
584fe8e582
commit
d044409a5d
1 file changed
+1
-1
@@ -17,7 +17,7 @@ import java.util.PriorityQueue;
|
||||
*/
|
||||
public class RecipeMatchRegistry {
|
||||
|
||||
protected final PriorityQueue<RecipeMatch> items = new PriorityQueue<RecipeMatch>(0, RecipeComparator.INSTANCE);
|
||||
protected final PriorityQueue<RecipeMatch> items = new PriorityQueue<RecipeMatch>(1, RecipeComparator.INSTANCE);
|
||||
|
||||
public RecipeMatch.Match matches(Collection<ItemStack> stacks) {
|
||||
return matches(stacks.toArray(new ItemStack[stacks.size()]));
|
||||
|
||||
Reference in new issue
Block a user