1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-07-07 18:40:47 +02:00

initialize sign

fix spelling error in variable
debug info for testing
This commit is contained in:
khonkhortisan
2014-04-22 13:36:46 -07:00
parent da867d7fd4
commit ede4c76db4
2 changed files with 13 additions and 1 deletions

View File

@ -81,6 +81,12 @@ end
--//move has disconnected sections, so it's passed as a list of points.
--which are deduplicated.
worldedit.can_edit_volume = function(name, volume) --does not return a function like .privs does
--debug info, remove after testing
minetest.chat_send_player(name, minetest.pos_to_string(volume[1])..minetest.pos_to_string(volume[2]))
if volume[3] ~= nil then
minetest.chat_send_player(name, minetest.pos_to_string(volume[3])..minetest.pos_to_string(volume[4]))
end
--volume is before func, unlike safe_region having func before count
--because func may be removed to have can_edit_volume in an if statement
--like worldedit.privs can be