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

Revert "Use "we-" prefix for commands"

This is currently being discussed, see #62.
This reverts commit 1024eace6f.
This commit is contained in:
sfan5
2014-10-25 07:53:20 +02:00
parent eb88bf6ade
commit fb49cc4bcc
6 changed files with 290 additions and 292 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 /we-y to continue or /we-n to cancel")
worldedit.player_notify(name, "WARNING: this operation could affect up to " .. count .. " nodes; type //y to continue or //n to cancel")
end
end
minetest.register_chatcommand("we-y", {
minetest.register_chatcommand("/y", {
params = "",
description = "Confirm a pending operation",
func = function(name)
@ -52,7 +52,7 @@ minetest.register_chatcommand("we-y", {
end,
})
minetest.register_chatcommand("we-n", {
minetest.register_chatcommand("/n", {
params = "",
description = "Confirm a pending operation",
func = function(name)