mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 09:03:01 +00:00
cloud wand: send chat message when clearing region
This commit is contained in:
parent
566b370960
commit
478d1269a1
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ local function clear_points(name, pos)
|
||||||
worldedit.pos2[name] = nil
|
worldedit.pos2[name] = nil
|
||||||
worldedit.marker_update(name)
|
worldedit.marker_update(name)
|
||||||
worldedit.set_pos[name] = nil
|
worldedit.set_pos[name] = nil
|
||||||
|
|
||||||
|
worldedit.player_notify(name, "Region cleared")
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_tool(":worldeditadditions:cloudwand", {
|
minetest.register_tool(":worldeditadditions:cloudwand", {
|
||||||
|
|
Loading…
Reference in a new issue