Commit ce6e7a2
Revert "fix: first /level after zero scan adopts live total as canonical baseline"
This reverts commit 178d85a.
The overwrite was wrong: it made the first regular /level after a zero
scan adopt the live totalPoints as the baseline, which absorbed any
blocks the player had placed before that /level into the handicap. A
fresh SkyBlock island with three diamond blocks reported level 0,
defeating the entire point of the level addon.
Kept in place (still correct, addresses real bugs):
- per-chunk handicap reconcile + addHandicapChunk (22f20bb)
- results.initialCount refresh in tidyUp (f254f04)
- 30s zero-scan delay + drift diagnostic logging (7715a12)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 178d85a commit ce6e7a2
4 files changed
Lines changed: 2 additions & 111 deletions
File tree
- src
- main/java/world/bentobox/level
- calculators
- objects
- test/java/world/bentobox/level
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
| 752 | + | |
757 | 753 | | |
758 | 754 | | |
759 | | - | |
760 | 755 | | |
761 | 756 | | |
762 | 757 | | |
| |||
767 | 762 | | |
768 | 763 | | |
769 | 764 | | |
770 | | - | |
771 | | - | |
772 | | - | |
| 765 | + | |
773 | 766 | | |
774 | 767 | | |
775 | 768 | | |
776 | 769 | | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | 770 | | |
787 | 771 | | |
788 | 772 | | |
| |||
Lines changed: 0 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | 928 | | |
951 | 929 | | |
952 | 930 | | |
| |||
Lines changed: 0 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 122 | | |
139 | 123 | | |
140 | 124 | | |
| |||
409 | 393 | | |
410 | 394 | | |
411 | 395 | | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | 396 | | |
429 | 397 | | |
430 | 398 | | |
| |||
Lines changed: 0 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | 531 | | |
571 | 532 | | |
572 | 533 | | |
| |||
0 commit comments