mirror of
https://github.com/minetest-mods/i3.git
synced 2024-12-28 03:40:39 +01:00
Small correction
This commit is contained in:
parent
e244a82d04
commit
56f8b68f5a
2
init.lua
2
init.lua
@ -2351,7 +2351,7 @@ local function get_inventory_fs(player, data, fs)
|
|||||||
local max_val = 15
|
local max_val = 15
|
||||||
|
|
||||||
if __3darmor and data.subcat == 2 then
|
if __3darmor and data.subcat == 2 then
|
||||||
if data.scrbar_inv == max_val then
|
if data.scrbar_inv >= max_val then
|
||||||
data.scrbar_inv = data.scrbar_inv + 9
|
data.scrbar_inv = data.scrbar_inv + 9
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user