haha it was broken

This commit is contained in:
ROllerozxa 2023-04-29 17:06:48 +02:00 committed by GitHub
parent a7653a54ca
commit 2dbaca26d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ minetest.register_on_mods_loaded(function()
local tiles = def.tiles
local target_tiles = {}
if tiles and legal_drawtype(def.drawtype) then
if tiles then
for index,_ in pairs(tiles) do
if type(tiles[index]) == 'table' then
tiles[index].align_style = 'world'