--- 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 p_14247_) {
-        return new SortedArraySet<>(p_14247_, Comparator.naturalOrder());
+        return new SortedArraySet<>(p_14247_, Comparator.<T>naturalOrder());
     }
 
     public static <T> SortedArraySet<T> create(Comparator<T> p_144977_) {
