From 1a848df5bcec5700edefbf784d45540ececab40b Mon Sep 17 00:00:00 2001 From: BlockMen Date: Mon, 13 Apr 2015 12:14:10 +0200 Subject: Fix scaling of inv.images like default:glass --- itemwheel.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/itemwheel.lua b/itemwheel.lua index 2b816da..3db86eb 100644 --- a/itemwheel.lua +++ b/itemwheel.lua @@ -67,6 +67,10 @@ local function update_wheel(player) image = def.wielded_image need_scale = false end + -- needed for nodes with inventory cube inv imges, e.g. glass + if string.find(image, 'inventorycube') then + need_scale = true + end end -- get the id and update hud elements -- cgit v1.2.3