Dreeam
d04e27db07
[ci skip] Update upstreamCommit script
2025-11-23 01:52:08 -05:00
Dreeam
242c1a0592
Updated Upstream (Leaves)
...
Upstream has released updates that appear to apply and compile correctly
Leaves Changes:
LeavesMC/Leaves@13c4e25e fix: fix bed easy place (#710 )
LeavesMC/Leaves@0ad976f6 Update Paper, and not pre
LeavesMC/Leaves@3feea8e4 Try to fix replay api crash (#713 )
LeavesMC/Leaves@2915edc2 Fix replay api crash with return-nether-portal-fix (#716 )
LeavesMC/Leaves@13651b11 Update Paper
LeavesMC/Leaves@513768c9 Merge Paper#11831 (#695 )
LeavesMC/Leaves@ec71a2bd fix: fix sleeping block entity (#723 )
LeavesMC/Leaves@b16a74c6 feat: remove some features(#724 ) (#725 )
LeavesMC/Leaves@ff184c1d Modify end void rings generation (#722 )
LeavesMC/Leaves@074f57b5 Update Paper
LeavesMC/Leaves@decc9752 feat: add more features declaration (#732 )
LeavesMC/Leaves@a82724fc Update mc technical mode (#734 )
LeavesMC/Leaves@9c8a2fc7 fix: fix hopper event (#739 )
LeavesMC/Leaves@adb02a59 fix: remove debug output (#740 )
LeavesMC/Leaves@4ade1001 Lithium Equipment Tracking (#736 )
LeavesMC/Leaves@d907002a Do not throw when bot nbt is illegal (#746 )
LeavesMC/Leaves@9ecdfe1e Do not check NaN values in entities (#742 ) (#749 )
LeavesMC/Leaves@5974eea2 Update Paper
LeavesMC/Leaves@5083948a Update Update Paper
LeavesMC/Leaves@93311671 Fix syncmatica path error, to fix #747 (#748 )
2025-11-23 01:51:20 -05:00
Dreeam
6524a38b1b
Bump Gradle
2025-11-18 16:54:31 -05:00
Dreeam
07204f7d98
Downgrade guava to fix incompatibility with eco plugins
2025-11-16 09:41:40 -05:00
Dreeam
e11accb01b
Paper PR: Fix async command building throwing CME in some cases
2025-11-02 13:13:22 -05:00
Dreeam
1cc858e644
Move back to actions
...
See https://www.blacksmith.sh/blog/cache
2025-11-02 13:13:03 -05:00
Dreeam
b3248c0710
Bump Gradle & dependencies
...
Nils Hoffmann - Next Life
Genre: Melodic House
2025-11-02 13:12:28 -05:00
Dreeam
17952bb013
[ci skip] Reorder patches
2025-10-29 02:23:32 -04:00
Dreeam
c3b9ad30b3
Remove stream in CraftWorld#spawnParticle
2025-10-29 02:21:35 -04:00
Dreeam
74d1b53d9f
Use existing cached flag to check if BlockPhysicsEvent has listener
...
Co-Authored-By: Overwrite987 <92237090+Overwrite987@users.noreply.github.com >
2025-10-25 08:11:23 -04:00
Dreeam
b0696542c6
Fix buffer reading condition
2025-10-25 07:58:33 -04:00
Dreeam
ea6f354099
Enable adaptive allocator as default
...
See 498a38cf74 for reference
2025-10-25 07:50:29 -04:00
Dreeam
35ac5d48ed
Cleanup PWT ( #533 )
...
* Unify comment format
* More configurable
* Remove one extra execute mid-tick task call in level tick when PWT is disabled
This may cause extremely rare, weird, strange, magic, mysterious issues with plugins, or potentially more.
One example is that it may cause boss mob duplication issue when `ONE MOB ONLY` was enabled in plugin SupremeBosses
2025-10-25 07:41:43 -04:00
Creeam
525fdd586f
Scan and warn for deprecated config modules ( #543 )
...
* scan for deprecated config modules
* [ci/skip] remove full-qualified name usage
2025-10-22 02:05:31 -04:00
Creeam
20579beb33
Fix MC-299642 ( #534 )
...
* Fix MC-299642
* Update patch comment
2025-10-19 04:15:03 -04:00
Dreeam
f75132b28c
[ci skip] Remove useless diff
2025-10-17 21:07:14 -04:00
Dreeam
13a32ff8aa
Fix inverted disabled in CraftCrafter#setSlotDisabled
2025-10-17 15:46:12 -04:00
Dreeam
3867aa901c
Only print PWT levels dump if PWT enabled
2025-10-15 20:21:00 -04:00
Dreeam
54acfa128e
Drop KeYi's disable arrow despawn counter by default to follow vanilla behavior
2025-10-13 00:41:31 -04:00
Creeam
3994984604
Improved fix of MC-298464 ( #524 )
...
* Improved fix of MC-298464
* Remove configurable & cleanup
* [ci skip] Fix patch order
2025-10-13 00:29:05 -04:00
MrlingXD
667f15c124
Fix PWT deadlock with WorldGuard dragon egg teleportation ( #506 )
...
Fixes https://github.com/Winds-Studio/Leaf/issues/502
2025-10-12 23:38:44 -04:00
Dreeam
92dbf8e033
[ci skip] Added backported patches from ver/1.21.4
2025-10-12 15:30:25 -04:00
hayanesuru
043cb215fd
Optimize canHoldAnyFluid in canMaybePassThrough ( #527 )
...
* optimize canHoldAnyFluid in canMaybePassThrough
* rebuild patches
* support reload
2025-10-12 14:26:33 -04:00
hayanesuru
2777740511
Fix no load chunk in optimize getOnPos ( #526 )
...
* revert get on pos load chunk
* move back fluid changes
* reuse chunk
* update comment
2025-10-09 10:00:48 -04:00
Dreeam
bc3fce4949
Drop useless fix
...
getProfiler method is removed from PathNavigationRegion since 1.21.3 snapshot 24w37a
2025-10-07 01:59:42 -04:00
Dreeam
264c07bc24
Temp fix api publish since javadoc.io is down
2025-10-06 14:00:25 -04:00
Dreeam
02a2e3e9ee
Disable VT4ProfileExecutor & VT4BukkitScheduler by default
...
Default disable VT4ProfileExecutor to avoid error code 429 when fetched profile from mojang server.
If related logic in plugins may not designed for VirtualThread, then virtual thread pinning may happen and causes problems.
So only let user to enable if needed.
For reference:
https://stackoverflow.com/questions/76618264/synchronize-block-pinning-virtual-thread
https://openjdk.org/jeps/491
2025-10-06 13:00:50 -04:00
Dreeam
69a59f9fac
Init Leaf config eariler
...
Move Leaf config init before the CrashReport#preload to prevent some configurable values can't read properly in some class static fields
For example, the CrashReport#preload triggers the init of Util class. If the config init happens after this, then can't read config values for VT4ProfilerExecutor properly
2025-10-06 12:53:46 -04:00
Dreeam
7a09871fc1
Allow watchdog thread to pass thread check
...
Similar as Paper # 12030, watchdog thread may also access chunks when server crashed by watchdog timeout
We don't need to add same condition to isSameThreadFor used by PWT, since it already uses instanceOf to check is TickThread or not.
2025-10-03 13:18:54 -04:00
Dreeam
472e20b564
[ci skip] Cleanup
2025-10-02 09:20:43 -04:00
hayanesuru
404bffa010
Fix cache biome chunk pos ( #514 )
...
* fix cache biome chunk pos
* move up
2025-10-02 08:48:27 -04:00
hayanesuru
57e61e2b59
Avoid MobCategory allocation in chunk access ( #517 )
2025-10-01 18:42:36 -04:00
Dreeam
3b162fb788
Move Purpur patches to first
...
To reduce the difficulty on maintenance and reduce chances to fix conflicts on updating
2025-10-01 18:27:42 -04:00
hayanesuru
f0e4107ca4
fix vmp patch skip entity zero movement ( #511 )
2025-10-01 10:03:59 -04:00
Dreeam
8a72cfe561
Fix incorrect coords passing
...
Co-Authored-By: hayanesuru <68378576+hayanesuru@users.noreply.github.com >
2025-09-30 18:37:01 -04:00
Dreeam
db053d5aa9
Fix incorrect coords passing
2025-09-30 12:47:05 -04:00
Dreeam
34c589f5f3
[ci skip] Fix diff
2025-09-29 14:00:33 -04:00
Dreeam
bd6bd9a965
Fix wrong salt param passing in secure seed patch
2025-09-29 13:38:14 -04:00
Dreeam
5e6c592485
Add missing log if kicked by keepalive timeout
2025-09-29 06:41:36 -04:00
Dreeam
39ee996235
Prevent executing commands if server stopped
2025-09-29 03:39:32 -04:00
Dreeam
d7f9f05c83
[ci skip] Fix comment
2025-09-28 00:54:47 -04:00
Dreeam
f1e884e0fc
Bump Gradle to 9.1.0
2025-09-18 10:04:01 -04:00
Dreeam
6949bed1f4
Bump Gradle
2025-09-16 17:16:17 -04:00
Dreeam
802fed0045
Cleanup fix to be better
...
Cleanup and always use updated projectile data on crossbow
2025-09-16 16:40:12 -04:00
Dreeam
e4422f64eb
Only update crossbow's projectile data if holding crossbow
...
To prevent sus things from plugins and prevent wrong item's data gets polluted
2025-09-15 21:39:45 -04:00
Dreeam
784786f100
Fix failed update crossbow's projectile data
...
Explicitly update new data to crossbow on hand, to prevent failed to update projectile data on crossbow and also avoid dupe.
Some plugins may change items by setting new item copy to player's inventory under scheduler under other projectile related events. In this way, the reference of crossbow item changed, thus the set call to `weapon` may not update data on the actual item.
2025-09-15 20:39:14 -04:00
hayanesuru
fe444c434f
Update optimize entity despawn ( #454 )
...
* update partial sort in despawn map
* inline get pos
* cache difficulty
* refactor
* fix fallback extract
* remove test code
* cleanup
* direct compare
* cleanup
* cleanup
* fix axis and remove bucket
* reduce alloc
* paper vertical fallback
* add 2 dimension
* cleanup
2025-09-14 20:45:57 -04:00
MrlingXD
69b6fe60ad
fix(replay): run ServerPhotographer player ops on main thread ( #499 )
...
* fix(replay): schedule ServerPhotographer player ops on main thread when async ticking
2025-09-14 20:34:39 -04:00
Dreeam
b9ebfff44c
Mark as exp
2025-09-11 15:42:17 -04:00
Dreeam
d8de34989a
[ci skip] Move some removed patches to work
2025-09-11 15:38:08 -04:00