1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-06-30 15:10:45 +02:00

Use "we-" prefix for commands

This commit is contained in:
ShadowNinja
2014-10-24 15:27:41 -04:00
parent 70c24c9501
commit 1024eace6f
6 changed files with 292 additions and 290 deletions

View File

@ -26,11 +26,11 @@ safe_region = function(callback, nodes_needed)
--save callback to call later
safe_region_callback[name], safe_region_param[name] = callback, param
worldedit.player_notify(name, "WARNING: this operation could affect up to " .. count .. " nodes; type //y to continue or //n to cancel")
worldedit.player_notify(name, "WARNING: this operation could affect up to " .. count .. " nodes; type /we-y to continue or /we-n to cancel")
end
end
minetest.register_chatcommand("/y", {
minetest.register_chatcommand("we-y", {
params = "",
description = "Confirm a pending operation",
func = function(name)
@ -52,7 +52,7 @@ minetest.register_chatcommand("/y", {
end,
})
minetest.register_chatcommand("/n", {
minetest.register_chatcommand("we-n", {
params = "",
description = "Confirm a pending operation",
func = function(name)