Skip to content

Commit

Permalink
fix: whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
Zepalesque committed Jan 3, 2025
1 parent a217e92 commit 4ff4a53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static Quintet<Double, Double, Double, Double, ServerLevel> extraForNear(

public void syncMoveDirection(Slider slider) {
if (!slider.level().isClientSide()) {
this.setSynched(slider.getId(), Direction.PLAYER, "move_direction_ordinal", Optional.ofNullable(slider.getMoveDirection()).map(Enum::ordinal).orElse(-1), extraForNear(slider));
this.setSynched(slider.getId(), Direction.NEAR, "move_direction_ordinal", Optional.ofNullable(slider.getMoveDirection()).map(Enum::ordinal).orElse(-1), extraForNear(slider));
}
}

Expand Down

0 comments on commit 4ff4a53

Please sign in to comment.