-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Describe what happend
from what i understand its bc the object task always executes on the server AFTER the last await() finishes
it should execute the task then in get it should await and by then the task finishes executing so value isnt null but it never does that until after it finishes awaiting so task.get in getBlockState in Locator class is always null this might be because all the code is running on the region thread so execute schedules the task then the latch awaits before the task even started running which means the task doesnt run until after the latch finishes awaiting
i had this convo with elecetroniccat in the paper discord might be useful to u might not idk https://discord.com/channels/289587909051416579/1090729705222721637/1308115336758956052
Reproduction steps
use on folia
Expected behavior
the tree falls down
Media
No response
Java Version
Java 21
Server Software
folia
Minecraft Version
1.21.1
Plugin Version
latest commit
Additional Information
No response