Oopsie
This commit is contained in:
parent
7f437b21f4
commit
a5ceae07d7
2
init.lua
2
init.lua
|
@ -20,7 +20,7 @@ local function lf(path)
|
||||||
end
|
end
|
||||||
|
|
||||||
i3 = {
|
i3 = {
|
||||||
version = 112,
|
version = 1121,
|
||||||
data = core.deserialize(storage:get_string"data") or {},
|
data = core.deserialize(storage:get_string"data") or {},
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -1530,8 +1530,9 @@ local function get_items_fs(fs, data, player, full_height)
|
||||||
else
|
else
|
||||||
local col = "^\\[colorize:#232428^\\[opacity:245"
|
local col = "^\\[colorize:#232428^\\[opacity:245"
|
||||||
local img = reg_items[item].inventory_image .. col
|
local img = reg_items[item].inventory_image .. col
|
||||||
|
local nodedef = reg_nodes[item]
|
||||||
|
|
||||||
if reg_nodes[item] then
|
if nodedef and not true_str(nodedef.inventory_image) then
|
||||||
img = PNG.cube .. col
|
img = PNG.cube .. col
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue