mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-01-11 15:07:28 +01:00
cloud wand: send chat message when clearing region
This commit is contained in:
parent
566b370960
commit
478d1269a1
@ -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 New Issue
Block a user