Browse Source

Fix wrong inventory_image and wield_image types

merge-requests/19/head
SmallJoker VanessaE 3 months ago
parent
commit
5410ea74f2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tube_registration.lua

+ 1
- 1
tube_registration.lua View File

@@ -58,7 +58,7 @@ local register_one_tube = function(name, tname, dropname, desc, plain, noctrs, e

local tgroups = {snappy = 3, tube = 1, tubedevice = 1, not_in_creative_inventory = 1}
local tubedesc = string.format("%s %s", desc, dump(connects))
local iimg = plain[1]
local iimg = type(plain[1]) == "table" and plain[1].name or plain[1]
local wscale = {x = 1, y = 1, z = 1}

if #connects == 0 then


Loading…
Cancel
Save