1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-11-15 23:20:16 +01:00

fix type error

This commit is contained in:
Isidor Zeuner 2017-06-28 19:09:56 +02:00
parent 1da3b32dbe
commit 3de6cdcf84

View File

@ -592,6 +592,7 @@ local check_cylinder = function(name, param)
return nil
end
if nil ~= area_protection.areas then
length = tonumber(length)
if axis == "?" then
local sign
axis, sign = worldedit.player_axis(name)