Skip to content

Commit e125ca1

Browse files
committed
fix: fmt
oh bro ofc
1 parent 7248f94 commit e125ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pumpkin-protocol/src/codec/velocity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const fn abs_max(a: f64, b: f64) -> f64 {
143143
a.abs().max(b.abs())
144144
}
145145

146-
fn to_long(value: f64) -> i64 {
146+
fn to_long(value: f64) -> i64 {
147147
((value.mul_add(0.5, 0.5) * MAX_15_BIT_VALUE).round() as i64).clamp(0, 32766)
148148
}
149149

0 commit comments

Comments
 (0)