Skip to content

Commit

Permalink
Change lateral interval in RailAction.create
Browse files Browse the repository at this point in the history
  • Loading branch information
zbx1425 committed Apr 28, 2024
1 parent a693a70 commit d062f9f
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,14 @@ private double redirectCreateAbs(double a) {
return radius == 0 ? -65472 : Math.abs(a);
}

@ModifyConstant(method = "create", constant = @Constant(doubleValue = 0.01), remap = false)
@ModifyConstant(method = "create", constant = @Constant(doubleValue = 0.01, ordinal = 0), remap = false)
private double modifyCreateInterval1(double original) {
return 0.05;
return 0.1;
}

@ModifyConstant(method = "create", constant = @Constant(doubleValue = 0.01, ordinal = 3), remap = false)
private double modifyCreateInterval2(double original) {
return 0.1;
}

}

0 comments on commit d062f9f

Please sign in to comment.