diff options
Diffstat (limited to 'patches/api/0034-EntityPathfindEvent.patch')
-rw-r--r-- | patches/api/0034-EntityPathfindEvent.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0034-EntityPathfindEvent.patch b/patches/api/0034-EntityPathfindEvent.patch index f4e8d04eb9..3586652e5c 100644 --- a/patches/api/0034-EntityPathfindEvent.patch +++ b/patches/api/0034-EntityPathfindEvent.patch @@ -7,7 +7,7 @@ Fires when an Entity decides to start moving to a location. diff --git a/src/main/java/com/destroystokyo/paper/event/entity/EntityPathfindEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/EntityPathfindEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..5804497f34bac9a9b6b16c6e5decb0119467df7b +index 0000000000000000000000000000000000000000..8267e8f1f0ade29a284831069e1268ee4b29e109 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/event/entity/EntityPathfindEvent.java @@ -0,0 +1,87 @@ @@ -74,7 +74,7 @@ index 0000000000000000000000000000000000000000..5804497f34bac9a9b6b16c6e5decb011 + */ + @NotNull + public Location getLoc() { -+ return this.location; ++ return this.location.clone(); + } + + @Override |