MC Dev fixes
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/net/minecraft/util/SortedArraySet.java
|
||||
+++ b/net/minecraft/util/SortedArraySet.java
|
||||
@@ -28,7 +28,7 @@
|
||||
}
|
||||
|
||||
public static <T extends Comparable<T>> SortedArraySet<T> create(int initialCapacity) {
|
||||
- return new SortedArraySet<>(initialCapacity, Comparator.naturalOrder());
|
||||
+ return new SortedArraySet<>(initialCapacity, Comparator.<T>naturalOrder()); // Paper - decompile fix
|
||||
}
|
||||
|
||||
public static <T> SortedArraySet<T> create(Comparator<T> comparator) {
|
||||
Reference in New Issue
Block a user