mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-03-28 15:50:23 +01:00
wrap the existing function rather than copy and pasting it
This commit is contained in:
parent
e0eab50290
commit
964781a10e
@ -204,7 +204,7 @@ if minetest.get_modpath("mcl_formspec") then
|
|||||||
local out = ""
|
local out = ""
|
||||||
for i = 0, w - 1, 1 do
|
for i = 0, w - 1, 1 do
|
||||||
for j = 0, h - 1, 1 do
|
for j = 0, h - 1, 1 do
|
||||||
out = out .."image["..x+i+(i*padding)..","..y+j+(j*padding)..";1,1;mcl_formspec_itemslot.png]"
|
out = out .. mcl_formspec.get_itemslot_bg(x+i+(i*padding), y+j+(j*padding), 1, 1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return out
|
return out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user