[1.16] Fix MobGoals#getAllGoals not actually returning all goals (#3670)

This commit is contained in:
MiniDigger | Martin
2020-06-28 21:57:31 +02:00
parent ce5894ab46
commit 5000be556c
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