mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 18:19:24 +01:00
You can use EntityPathfindEvent to cancel new pathfinds from overriding your current
This commit is contained in:
parent
75d51d6f9f
commit
cc238c61a0
@ -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 New Issue
Block a user