mirror of
https://github.com/PaperMC/Folia.git
synced 2025-04-21 11:49:20 +08:00
We must attempt to synchronise when the returned queue is null so that we can get a correct queue result or return false due to the reference counter being released, or even to throw an exception when the queue is null but the reference counter is not released.