Fix Sign Workshop GUI
This commit is contained in:
parent
d812ff03f2
commit
2ab28e6875
@ -18,9 +18,9 @@ local forms = {
|
||||
"list[context;streets:signworkshop_output;6,3;1,1]",
|
||||
"list[current_player;main;2,6;8,1]",
|
||||
"list[current_player;main;2,7.25;8,3;8]",
|
||||
gui_bg,
|
||||
gui_bg_img,
|
||||
gui_slots,
|
||||
default.gui_bg,
|
||||
default.gui_bg_img,
|
||||
default.gui_slots,
|
||||
default.get_hotbar_bg(2, 6)
|
||||
},
|
||||
active = {
|
||||
@ -38,9 +38,9 @@ local forms = {
|
||||
"list[context;streets:signworkshop_output;6,3;1,1]",
|
||||
"list[current_player;main;2,6;8,1]",
|
||||
"list[current_player;main;2,7.25;8,3;8]",
|
||||
gui_bg,
|
||||
gui_bg_img,
|
||||
gui_slots,
|
||||
default.gui_bg,
|
||||
default.gui_bg_img,
|
||||
default.gui_slots,
|
||||
default.get_hotbar_bg(2, 6),
|
||||
--
|
||||
}
|
||||
|
@ -26,19 +26,6 @@ streets = {}
|
||||
}
|
||||
streets.forms = {}
|
||||
|
||||
|
||||
|
||||
-- Support for mimnetest_next's fancy inventories
|
||||
if gui_bg and gui_bg_img and gui_slots and type(default.get_hotbar_bg) == "function" then
|
||||
-- Everything fine :)
|
||||
-- minetest_next rules! :P
|
||||
else
|
||||
gui_bg = ""
|
||||
gui_bg_img = ""
|
||||
gui_slots = ""
|
||||
default.get_hotbar_bg = function() return "" end
|
||||
end
|
||||
|
||||
-- rubenwardy: smartfs
|
||||
if not minetest.get_modpath("smartfs") then
|
||||
dofile(streets.modpath .. "/libs/smartfs/smartfs.lua")
|
||||
|
Loading…
x
Reference in New Issue
Block a user