Commit 12214ae
committed
fix: use saturating_add on received_movement_packets
Without saturating_add, the server may panic if it receives too many
movement packets within one tick.1 parent e31bb7c commit 12214ae
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments