Commit 7802103
committed
fix(server): resolve two compile errors blocking CI
- GameOrchestrator: remove duplicate local 'cupName' declaration inside
loadNextMap() lambda (variable already declared at top of block)
- ElytraPhysicsSystem: replace player.isGliding() (not available in
Minestom) with player.isOnGround() as the landing detection proxy;
when the server confirms ground contact, flight.setFlying(false) is set
so LandingResetSystem can detect the flying→landed transition1 parent 82c98d6 commit 7802103
3 files changed
Lines changed: 7 additions & 6 deletions
File tree
- server/src/main/java/net/elytrarace/server
- ecs/system
- game
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | | - | |
55 | | - | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | 337 | | |
339 | 338 | | |
340 | 339 | | |
| |||
0 commit comments