Commit 755d037
Compass position is updating now (Nukkit#1742)
* Found the unknown fields in SetSpawnPositionPacket
* Update position compass is pointing...j
... when world's spawn got changed
* Update compass positions when switched worlds
* SpawnChangeEvent is not cancellable -_-
* Oops, typo1 parent b74dc80 commit 755d037
3 files changed
Lines changed: 34 additions & 4 deletions
File tree
- src/main/java/cn/nukkit
- level
- network/protocol
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1010 | 1010 | | |
1011 | 1011 | | |
1012 | 1012 | | |
| 1013 | + | |
1013 | 1014 | | |
1014 | 1015 | | |
1015 | 1016 | | |
| |||
4368 | 4369 | | |
4369 | 4370 | | |
4370 | 4371 | | |
| 4372 | + | |
| 4373 | + | |
| 4374 | + | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
| 4380 | + | |
4371 | 4381 | | |
4372 | 4382 | | |
4373 | 4383 | | |
| |||
4405 | 4415 | | |
4406 | 4416 | | |
4407 | 4417 | | |
| 4418 | + | |
4408 | 4419 | | |
4409 | 4420 | | |
4410 | 4421 | | |
| |||
4414 | 4425 | | |
4415 | 4426 | | |
4416 | 4427 | | |
| 4428 | + | |
| 4429 | + | |
| 4430 | + | |
| 4431 | + | |
| 4432 | + | |
| 4433 | + | |
| 4434 | + | |
| 4435 | + | |
| 4436 | + | |
| 4437 | + | |
4417 | 4438 | | |
4418 | 4439 | | |
4419 | 4440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2419 | 2419 | | |
2420 | 2420 | | |
2421 | 2421 | | |
| 2422 | + | |
| 2423 | + | |
| 2424 | + | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
2422 | 2428 | | |
2423 | 2429 | | |
2424 | 2430 | | |
| |||
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | | - | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | | - | |
| 27 | + | |
25 | 28 | | |
26 | | - | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
0 commit comments