mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
You can use EntityPathfindEvent to cancel new pathfinds from overriding your current
This commit is contained in:
parent
75d51d6f9f
commit
cc238c61a0
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue