--- a/net/minecraft/world/level/biome/Climate.java
+++ b/net/minecraft/world/level/biome/Climate.java
@@ -266,7 +266,7 @@
                     throw new IllegalStateException("Expecting parameter space to be 7, got " + i);
                 } else {
                     List<Climate.RTree.Leaf<T>> list = p_186936_.stream()
-                        .map(p_186934_ -> new Climate.RTree.Leaf(p_186934_.getFirst(), p_186934_.getSecond()))
+                        .map(p_186934_ -> new Climate.RTree.Leaf<T>(p_186934_.getFirst(), p_186934_.getSecond()))
                         .collect(Collectors.toCollection(ArrayList::new));
                     return new Climate.RTree<>(build(i, list));
                 }
