mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-07-04 09:00:36 +02:00
Colorize command references in chat output
This commit is contained in:
@ -11,7 +11,8 @@ local function safe_region(name, count, callback)
|
||||
|
||||
--save callback to call later
|
||||
safe_region_callback[name] = callback
|
||||
worldedit.player_notify(name, S("WARNING: this operation could affect up to @1 nodes; type //y to continue or //n to cancel", count))
|
||||
worldedit.player_notify(name, S("WARNING: this operation could affect up to @1 nodes; type @2 to continue or @3 to cancel",
|
||||
count, minetest.colorize("#00ffff", "//y"), minetest.colorize("#00ffff", "//n")))
|
||||
end
|
||||
|
||||
local function reset_pending(name)
|
||||
|
Reference in New Issue
Block a user