From a803879c1e125a16bfb6d8e777a1524e1cfc42a2 Mon Sep 17 00:00:00 2001 From: BlockMen Date: Mon, 13 Apr 2015 17:34:10 +0200 Subject: Fix crash caused by animated nodes --- itemwheel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itemwheel.lua b/itemwheel.lua index 3db86eb..2e98241 100644 --- a/itemwheel.lua +++ b/itemwheel.lua @@ -55,7 +55,7 @@ local function update_wheel(player) -- get the images local def = minetest.registered_items[m] if def then - if def.tiles then + if def.tiles and (def.tiles[1] and not def.tiles[1].name) then image = minetest.inventorycube(def.tiles[1], def.tiles[6] or def.tiles[3] or def.tiles[1], def.tiles[3] or def.tiles[1]) need_scale = true end -- cgit v1.2.3