Skip to content

Commit fa764ca

Browse files
committed
redirect this normally
1 parent 15f61df commit fa764ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paper-api/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ default boolean moveTo(Location loc, double speed) {
112112
* @return If the pathfinding was successfully started
113113
*/
114114
default boolean moveTo(LivingEntity target) {
115-
return this.moveTo((Entity)target, 1);
115+
return this.moveTo(target, 1);
116116
}
117117

118118
/**

0 commit comments

Comments
 (0)