summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2012-07-13 22:14:25 -0400
committerAnthony Zhang <azhang9@gmail.com>2012-07-13 22:14:25 -0400
commit5869ccf7f8000dbf8682a67bed357ff09cd0f929 (patch)
tree6317760c1cec10864ab569920602587323a31d60 /init.lua
parent21f768be1401a920d687c611ee59a7140e625701 (diff)
Properly document the WorldEdit API.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index f37f754..3191bd0 100644
--- a/init.lua
+++ b/init.lua
@@ -112,8 +112,8 @@ minetest.register_chatcommand("/set", {
return
end
- local count = worldedit.fill(pos1, pos2, param)
- minetest.chat_send_player(name, count .. " nodes filled")
+ local count = worldedit.set(pos1, pos2, param)
+ minetest.chat_send_player(name, count .. " nodes set")
end,
})