mirror of
https://github.com/minetest-mods/i3.git
synced 2025-07-03 09:00:23 +02:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
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
|
||||
|
||||
|
Reference in New Issue
Block a user