//move+, //copy+ override //move, //copy by default

This commit is contained in:
Starbeamrainbowlabs 2023-07-10 21:12:54 +01:00
parent 277f3a8155
commit f7429fa40e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 7 additions and 2 deletions

View file

@ -18,6 +18,7 @@ Note to self: See the bottom of this file for the release template text.
- [`//copy+`](https://worldeditadditions.mooncarrot.space/Reference/#copy), [`//move+`](https://worldeditadditions.mooncarrot.space/Reference/#move):
- Added support for integrated `airapply` mode, which replaces nodes at the target only if they are air - append `airapply`/`aa` to the command to use
- Respect node rotation (i.e. param2) when copying/moving
- Override `//move` and `//copy` by default
### Bugfixes and changes
- Migrate from `depends.txt` to `mod.conf`

View file

@ -14,6 +14,12 @@ wea_c.register_alias("mcount", "count")
wea_c.register_alias("mfacing", "mface")
--- Overrides to core WorldEdit commands that have been thoroughly tested
-- These are now enabled by default, but if you find a bug please report and
-- it will be fixed as a matter of priority.
wea_c.register_alias("copy", "copy+", true)
wea_c.register_alias("move", "move+", true)
--- Overrides to core WorldEdit commands
-- These are disabled by default for now, as they could be potentially dangerous to stability
-- Thorough testing is required of our replacement commands before these are enabled by default
@ -21,7 +27,5 @@ local worldmt_settings = Settings(minetest.get_worldpath().."/world.mt")
local should_override = worldmt_settings:get_bool("worldeditadditions_override_commands", false)
if should_override then
minetest.log("info", "[WorldEditAdditions] Enabling override aliases")
wea_c.register_alias("copy", "copy+", true)
wea_c.register_alias("move", "move+", true)
wea_c.register_alias("replace", "replacemix", true)
end