Chunky (Bukkit)

Chunky (Bukkit)

20.6k Downloads

Ticking load interval places tickets off main

masmc05 opened this issue ยท 3 comments

commented

https://spark.lucko.me/b2Qa2f7dto

using a dev build, but that's too much, maybe that's because of chunk tickets being added before the chunk is generated

commented

Discussed on Discord, but turns out this actually was a bug in one way. Tickets were being placed from off the main thread when using the ticking load duration system property, and before generation could occur, seemingly causing some of the weird issues here.

That said TPS drops are not a bug, this is somewhat expected when ticking these chunks for a duration, for which the server then performs post process generation on these chunks.

Fixed by 9ee34d3.

commented

so i think it's because of #237 implemented in

world.addPluginChunkTicket(x, z, plugin);

commented

Thanks for the spark link, that's very helpful.

This has nothing to do with the random line of code you linked (which isn't even run by default without adding a startup flag).

The problem is this:

image

No wonder you're having issues when getChunk keeps calling itself recursively.

I'm going to assume that this is caused by one of the many plugins you have. Try without plugins first, on Paper, and see if you have the same issues. If you do still, join chunky support channel in the Discord server. I would be surprised if this is a bug with Chunky, but if it is we'll figure that out after troubleshooting more.