You were right!
I found exact line in my code. But I still don't know why it causing lags in main thread
I just checking if chunk is loaded
Bukkit.getScheduler().runTaskTimerAsynchronously(plugin, () -> {
if (location.getChunk().isLoaded()) {
//do stuff
}
}, checkPeriod...
Hi everyone
I want to find lag cause on my server. But I can't because everething stucks in "SELF" metrics
Help me please. I'm working around already whole week
Timings Report
Minecraft::world - Sync Chunk Load (SELF)
Spark Report
net.minecraft.util.thread.IAsyncTaskHandler.waitForTasks()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.