Chunky Border (Fabric)

Chunky Border (Fabric)

474k Downloads

Server crash (folia) 1.21.4 when interacting with the border

zqwy01 opened this issue ยท 1 comments

commented

Hi server crash (folia) when interacting with the border from ChunkyBorder

Folia 1.21.4-DEV-master@8af1aef
Chunky-Bukkit-1.4.29.jar
ChunkyBorder-Bukkit-1.2.24.jar
ProtocolLib (5.4.0-SNAPSHOT-736)

log error: https://mclo.gs/kPxE5xl

borders.json
"world": {
"world": "world",
"centerX": 0.0,
"centerZ": 0.0,
"radiusX": 500.0,
"radiusZ": 500.0,
"shape": "square",
"wrap": "default"
},

commented

I can reproduce this, only happens when wrapping is used. Using .join inside getElevation doesn't seem to work if the calling thread is a region or global region thread.

The task will either have to run on an async thread that's okay to call .join from, or call getElevation from the correct region thread inside the task.