WorldData creates a nullpointer at fawe #30
Labels
No labels
documentation
good first issue
help wanted
resolution: duplicate
resolution: invalid
resolution: won't fix
status: needs triage
type: bug
type: feature
type: performance
type: question
version: 1.19.4
version: 1.20
version: 1.20.1
version: 1.20.2
version: 1.20.4
version: 1.20.6
version: 1.21.11
version: 1.21.4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Minecraft/Folia#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected behavior
Fawe use for regeneration of chunks some methods. Normally
getBlockEntitygives us every block tile entity from the chunk.Observed/Actual behavior
The chunk level data random empty.
Steps/models to reproduce
Plugin and Datapack List
Folia version
Other
No response
getBlockEntity should only be executed by the ticking region
But some times are null internally in FOLIA.
Over Paperweight i got some errors. But randomly
Likely not the case, report them as they arise
Here the stacktrace:
Again seems like you're calling from the FAWE thread, the only way
getCurrentWorldDatareturns null if it's not a tick thread.AsyncNotifyQueue uses in the end the API from Bukkit/Folia
The only way
getCurrentWorldDatareturns null is if it is not called from a tick thread.Yeah but why sometimes are not null. Thats the funny thing 😂
Because multithreaded programming is a complicated topic where few things are guaranteed across threads
Okay got you. I am on it to fix it in fawe