Update init.lua

This commit is contained in:
Megaf 2017-12-20 18:44:53 -02:00 committed by GitHub
parent 43bf49648f
commit c1f2375254
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -714,7 +714,7 @@ local function get(tab, z,y,x)
end
local function remove(tab, z,y,x)
if vector.get_data_from_pos(tab, z,y,x) == nil then
if get(tab, z,y,x) == nil then
return
end
tab[z][y][x] = nil