mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 07:02:18 -07:00
You can use EntityPathfindEvent to cancel new pathfinds from overriding your current
This commit is contained in:
@@ -9,6 +9,8 @@ This does not do anything to stop other AI rules from changing the location, so
|
||||
it is still up to the plugin to control that or override after another goal changed
|
||||
the location.
|
||||
|
||||
You can use EntityPathfindEvent to cancel new pathfinds from overriding your current.
|
||||
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java
|
||||
new file mode 100644
|
||||
index 000000000..78230bd28
|
||||
|
Reference in New Issue
Block a user