Remove ThreadLocal usage (#2961)
In some cases, it probably wasn't really saving us anything since
creating the object is likely cheaper than doing the lookup. For
Request, it perfectly fits `ScopedValue`, so we adjust all usages to
work with that instead. (75017035 by Octavia Togami)
Move 21 into only old adapters, set launcher for paperweight (#2959) (b6c1a8c0 by Octavia Togami)
Made the RecursiveDirectoryWatcher thread a daemon (#2957) (eda46560 by Maddy Miller)
Re-enable `this-escape` warning, suppress as needed (#2953)
ANTLR now suppresses it properly. We also need to generally suppress it
for now, since we use a lot of weird initialization patterns. Cleaning
these up would be nice in the future. (71b4f1bf by Octavia Togami)
[coremc] Keep a Platform instance in most places
This also makes Adapter an abstract class implemented by the platforms,
which expose their adapter back to coremc and also to other mods. (74dbdf0e by Octavia Togami)
Store SnapshotInfo instead of Snapshot in LocalSession (#2918)
This prevents issues with the lifecycle of the file handles that may be
associated with it
Fixes #2902 (e4f1aceb by Octavia Togami)
Fixed certain commands that teleport the player or an entity to Folia. (#2919) (6ffef676 by euphyllia)
Fixed certain commands that teleport the player or an entity to Folia. (6ffef676 by euphyllia)
I just saw a comment about the requirement to include its return value, so I simply stated that if the server was running Folia (see: https://github.com/EngineHub/WorldEdit/pull/2848/changes#r2552494430 (6ffef676 by euphyllia)
Remove unnecessary command event listener for Bukkit (#2909) (44e9e7af by Maddy Miller)
Update entity leash position and home position in new minecraft versions when pasting (#2900) (75d84aaf by brokkonaut)
Make non-legacy blocks' type/data values -1, to allow overriding non-legacy blocks with air in //generate (#2901) (c831bfe8 by tomylobo)
In //g, allow overriding non-legacy blocks with air
Previously, it was impossible to override a non-legacy block (i.e. one that was introduced after the switch to string IDs) with air.
This was due to the fact that non-legacy blocks and air had the same type id (0).
This change gives them separate type ids, making it possible to override non-legacy blocks with air. (c831bfe8 by tomylobo)
Make query functions return type/data values of -1 for non-legacy blocks
This matches the new behaviour of the type/data variables in //generate (c831bfe8 by tomylobo)