mirror of
https://github.com/minetest-mods/i3.git
synced 2025-07-03 17:10: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
|
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user