From 952a2225dfeef9908d719f8fe35e6289de0a4369 Mon Sep 17 00:00:00 2001 From: MiniDigger | Martin Date: Wed, 16 Jun 2021 00:47:05 +0200 Subject: [PATCH] Fix a few cases of the vanilla mob goals --- patches/server/Implement-Mob-Goal-API.patch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/patches/server/Implement-Mob-Goal-API.patch b/patches/server/Implement-Mob-Goal-API.patch index 13375a64bf..31a49abc34 100644 --- a/patches/server/Implement-Mob-Goal-API.patch +++ b/patches/server/Implement-Mob-Goal-API.patch @@ -279,6 +279,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + + ignored.add("goal_selector_1"); + ignored.add("goal_selector_2"); ++ ignored.add("selector_1"); ++ ignored.add("selector_2"); + ignored.add("wrapped"); + + bukkitMap.put(net.minecraft.world.entity.Mob.class, Mob.class); @@ -396,6 +398,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + } + } + name = name.replace("PathfinderGoal", ""); ++ name = name.replace("TargetGoal", ""); ++ name = name.replace("Goal", ""); + StringBuilder sb = new StringBuilder(); + for (char c : name.toCharArray()) { + if (c >= 'A' && c <= 'Z') {