1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-06-28 14:16:18 +02:00

Change all references of //dig to //fixlight, document the changes, fix a small typo.

This commit is contained in:
Anthony Zhang
2013-01-12 16:02:23 -05:00
parent 6fb039fb9d
commit 7cb2df24b8
4 changed files with 12 additions and 13 deletions

View File

@ -546,7 +546,7 @@ minetest.register_chatcommand("/rotate", {
minetest.register_chatcommand("/fixlight", {
params = "",
description = "Fix the Lightning in the current WorldEdit region",
description = "Fix the lighting in the current WorldEdit region",
privs = {worldedit=true},
func = function(name, param)
local pos1, pos2 = worldedit.pos1[name], worldedit.pos2[name]
@ -556,7 +556,7 @@ minetest.register_chatcommand("/fixlight", {
end
local count = worldedit.fixlight(pos1, pos2)
minetest.chat_send_player(name, count .. " nodes dug")
minetest.chat_send_player(name, count .. " nodes updated")
end,
})