Try to fix #849, #854, add configurable strict mode in protocol, introduce slf4j logger, cleanup#855
Merged
Merged
Conversation
…n protocol, introduce slf4j logger, cleanup
Member
Author
|
#854 我没法复现 但是崩了确实不对 现在strict mode (默认关) 关掉之后就只会print error不会崩了 ( |
Member
|
我的建议是要改就一起改了 之前的老logger没必要保留 |
Member
Author
|
正在吃 小笼包( |
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
…C#855 bytebuf、丢弃 26.1 已被 upstream 吸收的过时补丁、应用 LeavesMC#862 的 piglin(LeavesMC#858) 和 piercing(LeavesMC#859) 修复
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) 修复
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改的有点多, strict mode 需要log throwable, 但是jul的Logger不支持, 不如全改了 (