--- a/net/minecraft/world/entity/ai/behavior/StrollToPoiList.java
+++ b/net/minecraft/world/entity/ai/behavior/StrollToPoiList.java
@@ -16,7 +16,7 @@
     ) {
         MutableLong mutablelong = new MutableLong(0L);
         return BehaviorBuilder.create(
-            p_259612_ -> p_259612_.<MemoryAccessor, MemoryAccessor, MemoryAccessor>group(
+            p_259612_ -> p_259612_.group(
                         p_259612_.registered(MemoryModuleType.WALK_TARGET), p_259612_.present(p_259573_), p_259612_.present(p_259706_)
                     )
                     .apply(
