mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-29 17:17:29 +01:00
Fix wrong inventory_image and wield_image types
This commit is contained in:
parent
4602290bc5
commit
5410ea74f2
@ -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 tgroups = {snappy = 3, tube = 1, tubedevice = 1, not_in_creative_inventory = 1}
|
||||||
local tubedesc = string.format("%s %s", desc, dump(connects))
|
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}
|
local wscale = {x = 1, y = 1, z = 1}
|
||||||
|
|
||||||
if #connects == 0 then
|
if #connects == 0 then
|
||||||
|
Loading…
Reference in New Issue
Block a user