Fix world generator not closing

This commit is contained in:
James Seibel
2023-02-23 20:19:15 -06:00
parent 5174c71363
commit e0cc271cf1
@@ -627,8 +627,7 @@ public class WorldGenerationQueue implements Closeable
try
{
// this will throw a timeout exception if the generator doesn't return soon enough
this.generatorClosingFuture.get(SHUTDOWN_TIMEOUT_SEC, TimeUnit.SECONDS);
this.generatorClosingFuture.cancel(true);
}
catch (Throwable e)
{