mirror of
https://github.com/minetest-mods/i3.git
synced 2024-11-13 06:10:21 +01:00
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
|
||||
|
||||
i3 = {
|
||||
version = 112,
|
||||
version = 1121,
|
||||
data = core.deserialize(storage:get_string"data") or {},
|
||||
|
||||
settings = {
|
||||
|
|
|
@ -1530,8 +1530,9 @@ local function get_items_fs(fs, data, player, full_height)
|
|||
else
|
||||
local col = "^\\[colorize:#232428^\\[opacity:245"
|
||||
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
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user