diff options
author | BlockMen <nmuelll@web.de> | 2015-04-13 12:14:10 +0200 |
---|---|---|
committer | BlockMen <nmuelll@web.de> | 2015-04-13 12:17:02 +0200 |
commit | 1a848df5bcec5700edefbf784d45540ececab40b (patch) | |
tree | e98887c9d20af248cf06fefedc437614366d5645 | |
parent | b1f31d7c53c5bb3633e40287e9a6337ee5c6e3b2 (diff) |
Fix scaling of inv.images like default:glass
-rw-r--r-- | itemwheel.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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 |