TinyModularThings / Chunk-Pregenerator-Issue-Tracker

Issue Tracker & Wiki For Chunk Pregenerator
15 stars 0 forks source link

[1.18] crash with /pregen clear #20

Closed jinkhya closed 1 year ago

jinkhya commented 1 year ago

Hello, The server instantly crashes when I run /pregen clear Here's the crash log : https://gist.github.com/jinkhya/3d30156263bc8da3b624e9dfb4a9078b

Forge : 40.2.0 Modpack : Odyssey 3 Chunk pregen : Chunk-Pregenerator-1.18-4.2.1-all

Thank you

Speiger commented 1 year ago

@jinkhya have you started and stopped a task really quickly?

Edit: I will address that with the next patch. Though this might take a couple days.

jinkhya commented 1 year ago

I didn't no, I had a task running for a while and then wanted to clear it :)

jinkhya commented 1 year ago

thanks for the upcoming patch !

Speiger commented 1 year ago

@jinkhya it is a bugfix i forgot to backport from 1.19 to 1.18 and older... sorry this is really dumb derp.

Speiger commented 1 year ago

@jinkhya temp fix. use /pregen pause first and wait for it to fully pause. (it will finish 1024 chunks it started) and then once you think its done just use /pregen clear.

Basically the chunks that it generates after you deleted the task will kill the server. Thats the issue. And pausing it causes the task to complete generating first and then deleting it will not cause this bug.