Skip to content

Try to fix #849, #854, add configurable strict mode in protocol, introduce slf4j logger, cleanup#855

Merged
Lumine1909 merged 6 commits into
LeavesMC:masterfrom
Lumine1909:fix/1
May 3, 2026
Merged

Try to fix #849, #854, add configurable strict mode in protocol, introduce slf4j logger, cleanup#855
Lumine1909 merged 6 commits into
LeavesMC:masterfrom
Lumine1909:fix/1

Conversation

@Lumine1909

Copy link
Copy Markdown
Member

改的有点多, strict mode 需要log throwable, 但是jul的Logger不支持, 不如全改了 (

…n protocol, introduce slf4j logger, cleanup
@Lumine1909

Copy link
Copy Markdown
Member Author

#854 我没法复现 但是崩了确实不对 现在strict mode (默认关) 关掉之后就只会print error不会崩了 (

@s-yh-china

Copy link
Copy Markdown
Member

我的建议是要改就一起改了 之前的老logger没必要保留

@Lumine1909 Lumine1909 requested review from MC-XiaoHei and s-yh-china and removed request for s-yh-china May 2, 2026 14:38

@s-yh-china s-yh-china left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我要吃 饭!

@Lumine1909

Copy link
Copy Markdown
Member Author

正在吃 小笼包(

@Lumine1909 Lumine1909 merged commit a04cb95 into LeavesMC:master May 3, 2026
1 check passed
HyacinthHaru added a commit to HyacinthHaru/Leaves that referenced this pull request Jun 2, 2026
升级 mcVersion/paperRef 至 26.1.2、leavesweight 2.2.0-SNAPSHOT、JDK 25,适配 26.1 API 变更(ChunkPos record、WeatherData、HashMapPalette、moonrise getRawPalette final 等),并重做 LeavesMC#855 bytebuf 重构(BytebufAllocator/PacketAudience/静态 InternalBytebufHandler)在 api/paper-patches/minecraft-patches/own-source 的协同。applyAllPatches 与 leaves-server 编译均通过。尚待补齐 master 的 patch deltas 与 LeavesMC#862 三处修复,故标记待验证。
HyacinthHaru added a commit to HyacinthHaru/Leaves that referenced this pull request Jun 2, 2026
升级 mcVersion/paperRef 至 26.1.2、leavesweight 2.2.0-SNAPSHOT、JDK 25,适配 26.1 API 变更(ChunkPos record、WeatherData、HashMapPalette、moonrise getRawPalette 变 final 等)并重做 LeavesMC#855 bytebuf 重构(BytebufAllocator/PacketAudience/静态 InternalBytebufHandler)。对齐 master 的 patch deltas(Leaves-Server-Config-And-Command 命令钩子、Configurable-void-trade、Allow-Inf-NaN),丢弃 26.1 已被 upstream 吸收的过时补丁(Cache-climbing-check、preventMovingIntoUnloadedChunks)。应用 LeavesMC#862 的 piglin(LeavesMC#858)与 piercing(LeavesMC#859)修复;nether(LeavesMC#861)涉跨文件重构留待 cherry-pick。
HyacinthHaru added a commit to HyacinthHaru/Leaves that referenced this pull request Jun 3, 2026
HyacinthHaru added a commit to HyacinthHaru/Leaves that referenced this pull request Jun 3, 2026
更新 LeavesMC 到 26.1.2,锚定的是 Paper 的 正式版。改动内容包括适配 26.1 API 变更、重做 LeavesMC#855 bytebuf、丢弃 26.1 已被 upstream 吸收的过时补丁、应用 LeavesMC#862 的 piglin(LeavesMC#858) 和 piercing(LeavesMC#859) 修复
@HyacinthHaru HyacinthHaru mentioned this pull request Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants