SnCustomCrafting v2.0.1
Fixes
/customcrafting set no longer freezes the server. Every set parked the main thread for
ten seconds and tripped Paper's watchdog ("The server has not responded for 10 seconds"),
followed by Can't keep up!. /customcrafting remove did the same, and a set onto a block
that already held a workstation paid it twice.
The workstation write handed the file to the async scheduler and then waited for it on the main
thread - the same thread that has to dispatch the task. The wait could only expire, never
succeed. Both commands now return within a tick, and the workstation is still persisted
immediately.
No data was ever at risk: the file was always written, just ten seconds late.
Changes
config.ymlno longer ships theupdate-checkblock. The releases feed is public, so
anonymous polling already works and the token was never needed. Existing servers can leave the
key in place - it is ignored.
Installation
Download the JAR below and place in your plugins folder. Requires SnLib 1.24.0 or newer.