mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com> Co-authored-by: Shane Freeder <theboyetronic@gmail.com>
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
+
|
+
|
||||||
+ @Nullable
|
+ @Nullable
|
||||||
+ protected Path createPath(Set<BlockPos> targets, @Nullable Entity target, int regionOffset, boolean offsetUpward, int accuracy) {
|
+ protected Path createPath(Set<BlockPos> targets, @Nullable Entity target, int regionOffset, boolean offsetUpward, int accuracy) {
|
||||||
+ return this.createPath(targets, target, regionOffset, offsetUpward, accuracy, (float) this.mob.getAttributeValue(Attributes.FOLLOW_RANGE));
|
+ return this.createPath(targets, target, regionOffset, offsetUpward, accuracy, this.getMaxPathLength());
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ @Nullable
|
+ @Nullable
|
||||||
|
Reference in New Issue
Block a user