mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-01-12 11:10:28 +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 = ""
|
||||
for i = 0, w - 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
|
||||
return out
|
||||
|
Loading…
Reference in New Issue
Block a user