diff options
Diffstat (limited to 'patches/server/0111-Prevent-Pathfinding-out-of-World-Border.patch')
-rw-r--r-- | patches/server/0111-Prevent-Pathfinding-out-of-World-Border.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0111-Prevent-Pathfinding-out-of-World-Border.patch b/patches/server/0111-Prevent-Pathfinding-out-of-World-Border.patch index f473b6a56e..6c97c14e17 100644 --- a/patches/server/0111-Prevent-Pathfinding-out-of-World-Border.patch +++ b/patches/server/0111-Prevent-Pathfinding-out-of-World-Border.patch @@ -13,10 +13,10 @@ by adding code to all overrides in: to return BLOCKED if it is outside the world border. diff --git a/src/main/java/net/minecraft/world/entity/ai/navigation/PathNavigation.java b/src/main/java/net/minecraft/world/entity/ai/navigation/PathNavigation.java -index 85b3da93b6dd8e1a40d884db0721f30b9b237c69..c3b406e6302ae0ac1ef56253ab614ca201a7a1c8 100644 +index fa5088945adc5e41e34cc2dc21a1762d106254c8..25a9f1fd69fbafab5129740e26e9741e35885ce0 100644 --- a/src/main/java/net/minecraft/world/entity/ai/navigation/PathNavigation.java +++ b/src/main/java/net/minecraft/world/entity/ai/navigation/PathNavigation.java -@@ -159,7 +159,7 @@ public abstract class PathNavigation { +@@ -158,7 +158,7 @@ public abstract class PathNavigation { // Paper start - EntityPathfindEvent boolean copiedSet = false; for (BlockPos possibleTarget : positions) { |