[1.15] Fix MobGoals#getAllGoals not actually returning all goals (#3671)

This commit is contained in:
MiniDigger | Martin
2020-06-28 21:56:59 +02:00
parent f884a07f57
commit 8cd2d012a3
2 changed files with 38 additions and 2 deletions

View File

@@ -162,7 +162,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ MOVE,
+ LOOK,
+ JUMP,
+ TARGET
+ TARGET,
+ /**
+ * Used to map vanilla goals, that are a behavior goal but don't have a type set...
+ */
+ UNKNOWN_BEHAVIOR,
+
+}
diff --git a/src/main/java/com/destroystokyo/paper/entity/ai/MobGoals.java b/src/main/java/com/destroystokyo/paper/entity/ai/MobGoals.java