WorldEdit Hang Fix

A simple mod that prevents WorldEdit from hanging the Minecraft server when the server is stopping

21,19k

Quick challenge

How far can you run before the mobs catch you?

WorldEdit Hang Fix

A simple mod that prevents WorldEdit from hanging the Minecraft server when the server is stopping

It fixes https://github.com/EngineHub/WorldEdit/issues/2459. What it does:

- Shutdown `WorldEdit.getInstance().getExecutorService()` on dedicated server stop (or it will hang the server for maximum 60s) - Ensure the singleton `java.util.Timer` object in `FutureProgressListener` runs on a daemon thread (or it will hang the server forever)

Supported environment

| Platform | Minecraft | WorldEdit | |----------|--------------|-----------| | fabric | MC >= 1.14 | >=7.0.0 | | forge | MC >= 1.15 | >=7.0.0 | | neoforge | MC >= 1.20.6 | >=7.0.0 |

ADS