Skip to content

Commit dfeb9fb

Browse files
committed
fix missing movement speed multiplicator usage
1 parent e0cc1c3 commit dfeb9fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/de/ntcomputer/minecraft/controllablemobs/implementation/ai/behaviors/PathfinderGoalActionMoveAbstract.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected boolean canStartAction() {
2626

2727
@Override
2828
protected void onStartAction() {
29-
NativeInterfaces.NAVIGATION.METHOD_MOVEALONGPATH.invoke(this.mob.nmsEntity.getNavigation(), this.path, 1.0);
29+
NativeInterfaces.NAVIGATION.METHOD_MOVEALONGPATH.invoke(this.mob.nmsEntity.getNavigation(), this.path, this.action.movementSpeedMultiplicator);
3030
}
3131

3232
@Override

0 commit comments

Comments
 (0)