Folia/patches/server
Spottedleaf 65667ccd07 Fix race condition on UpgradeData.BlockFixers class init
The CHUNKY_FIXERS field is modified during the constructors
of the BlockFixers, but the code that uses CHUNKY_FIXERS does
not properly ensure that BlockFixers has been initialised before
using it, leading to a possible race condition where instances of
BlockFixers are accessed before they have initialised correctly.

We can force the class to initialise fully before accessing the
field by calling any method on the class, and for convenience
we use values().

Fixes https://github.com/PaperMC/Folia/issues/141
2023-08-08 17:31:01 -07:00
..
0001-Build-changes.patch Use Folia for bstats version instead of Paper 2023-07-12 18:41:19 -07:00
0002-MC-Dev-fixes.patch Initial patch apply 2023-06-08 20:15:55 -07:00
0003-Threaded-Regions.patch Reset player before running place logic 2023-08-07 14:35:18 -07:00
0004-Max-pending-logins.patch Update paper 2023-07-06 22:26:45 -07:00
0005-Add-chunk-system-throughput-counters-to-tps.patch Initial patch apply 2023-06-08 20:15:55 -07:00
0006-Make-CraftEntity-getHandle-and-overrides-perform-thr.patch Set correct riding position for entity passengers on vehicle move packet 2023-07-09 20:40:57 -07:00
0007-Disable-mid-tick-task-execution.patch Update paper 2023-07-06 22:26:45 -07:00
0008-Throw-UnsupportedOperationException-for-broken-APIs.patch Update paper 2023-07-06 22:26:45 -07:00
0009-Fix-tests-by-removing-them.patch Update paper 2023-07-06 22:26:45 -07:00
0010-Work-around-https-github.com-PaperMC-paperweight-iss.patch Set correct riding position for entity passengers on vehicle move packet 2023-07-09 20:40:57 -07:00
0011-Require-plugins-to-be-explicitly-marked-as-Folia-sup.patch Initial patch apply 2023-06-08 20:15:55 -07:00
0012-Lag-compensate-block-breaking.patch Update paper 2023-07-06 22:26:45 -07:00
0013-Prevent-block-updates-in-non-loaded-or-non-owned-chu.patch Update to latest paper 2023-06-09 23:44:24 -07:00
0014-Block-reading-in-world-tile-entities-on-worldgen-thr.patch Initial patch apply 2023-06-08 20:15:55 -07:00
0015-Skip-worldstate-access-when-waking-players-up-during.patch Reset player before running place logic 2023-08-07 14:35:18 -07:00
0016-Do-not-access-POI-data-for-lodestone-compass.patch Initial patch apply 2023-06-08 20:15:55 -07:00
0017-Synchronize-PaperPermissionManager.patch Fix compile / boot 2023-06-08 21:03:13 -07:00
0018-Fix-off-region-raid-heroes.patch Fix compile / boot 2023-06-08 21:03:13 -07:00
0019-Remove-unused-skyLightSources.patch Remove unused skyLightSources 2023-06-10 14:10:20 -07:00
0020-fixup-Rewrite-chunk-system.patch Fix some issues from Folia test 2023-06-25 14:01:20 -07:00
0021-Do-not-read-tile-entities-in-chunks-that-are-positio.patch Fix some issues from Folia test 2023-06-25 14:01:20 -07:00
0022-fixup-Rewrite-chunk-system.patch Rewrite spawn selection algorithm 2023-07-25 11:52:46 -07:00
0023-Sync-vehicle-position-to-player-position-on-player-d.patch Update paper 2023-07-06 22:26:45 -07:00
0024-Make-loadChunksAsync-callback-thread-safe.patch Make loadChunksAsync callback thread-safe 2023-07-25 12:00:33 -07:00
0025-Fix-race-condition-on-UpgradeData.BlockFixers-class-.patch Fix race condition on UpgradeData.BlockFixers class init 2023-08-08 17:31:01 -07:00