mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 01:23:45 +01:00
//move+, //copy+ override //move, //copy by default
This commit is contained in:
parent
277f3a8155
commit
f7429fa40e
@ -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`
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user