refactor aliases into a separate file

This commit is contained in:
Starbeamrainbowlabs 2022-05-16 20:33:04 +01:00
parent 60c8f30109
commit 9d3a4ce263
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2
2 changed files with 12 additions and 11 deletions

@ -0,0 +1,11 @@
worldedit.alias_command("smoothadv", "convolve")
worldedit.alias_command("conv", "convolve")
worldedit.alias_command("naturalise", "layers")
worldedit.alias_command("naturalize", "layers")
worldedit.alias_command("flora", "bonemeal")
-- Measure Tools
worldedit.alias_command("mcount", "count")
worldedit.alias_command("mfacing", "mface")

@ -80,17 +80,7 @@ end
-- end
worldedit.alias_command("smoothadv", "convolve")
worldedit.alias_command("conv", "convolve")
worldedit.alias_command("naturalise", "layers")
worldedit.alias_command("naturalize", "layers")
worldedit.alias_command("flora", "bonemeal")
-- Measure Tools
worldedit.alias_command("mcount", "count")
worldedit.alias_command("mfacing", "mface")
dofile(we_c.modpath.."/aliases.lua")
--- Overrides to core WorldEdit commands