fix nil tiles

This commit is contained in:
AiTechEye 2019-05-23 12:35:11 +02:00 committed by GitHub
parent 00f024cb88
commit 0abd3b0e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ minetest.register_on_mods_loaded(function()
end
end
for i, v in pairs(minetest.registered_nodes) do
if v.drawtype~="airlike" and not v.mt2d then
if v.drawtype~="airlike" and not v.mt2d and v.tiles then
local inventory_image=v.inventory_image
local walkable=v.walkable