mirror of
https://github.com/minetest-mods/i3.git
synced 2025-01-28 19:10:24 +01:00
Fix scroll_container
This commit is contained in:
parent
c4bfe59d2f
commit
b71aaf24f3
8
init.lua
8
init.lua
@ -1828,7 +1828,7 @@ local function get_ctn_content(fs, data, player, xoffset, yoffset, ctn_len, awar
|
|||||||
if __3darmor then
|
if __3darmor then
|
||||||
add_subtitle(fs, ES"Armor", 0, yextra, ctn_len, "+2")
|
add_subtitle(fs, ES"Armor", 0, yextra, ctn_len, "+2")
|
||||||
|
|
||||||
fs(fmt("list[detached:%s_armor;armor;0,%f;3,2;]", name, yextra + 0.6))
|
fs(fmt("list[detached:%s_armor;armor;0,%f;3,2;]", ESC(name), yextra + 0.6))
|
||||||
|
|
||||||
local armor_def = armor.def[name]
|
local armor_def = armor.def[name]
|
||||||
|
|
||||||
@ -1898,10 +1898,10 @@ local function get_inventory_mode(player, fs, data, full_height)
|
|||||||
|
|
||||||
if __3darmor then
|
if __3darmor then
|
||||||
max_val = max_val + 15
|
max_val = max_val + 15
|
||||||
end
|
|
||||||
|
|
||||||
if __skinsdb then
|
if __skinsdb then
|
||||||
max_val = max_val + 20
|
max_val = max_val + 20
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if __awards then
|
if __awards then
|
||||||
|
Loading…
Reference in New Issue
Block a user