mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-06-29 14:50:41 +02:00
MineClone formspec compat (#82)
* MineClone list backgrounds compat * mineclone get inv func
This commit is contained in:
committed by
GitHub
parent
ebe2331619
commit
7f93e8aa0a
@ -190,7 +190,7 @@ local function update_meta(meta, enabled)
|
||||
local state = enabled and "on" or "off"
|
||||
meta:set_int("enabled", enabled and 1 or 0)
|
||||
local list_backgrounds = ""
|
||||
if minetest.get_modpath("i3") then
|
||||
if minetest.get_modpath("i3") or minetest.get_modpath("mcl_formspec") then
|
||||
list_backgrounds = "style_type[box;colors=#666]"
|
||||
for i=0, 2 do
|
||||
for j=0, 2 do
|
||||
|
Reference in New Issue
Block a user