Use mcl_formspec.get_itemslot_bg_v4 instead of mcl_formspec.get_itemslot_bg
This commit is contained in:
@@ -129,6 +129,7 @@ function industrialtest.Magnetizer.getFormspec(self,pos)
|
||||
local formspec={
|
||||
(powerPercent>0 and "image[4.7,2.7;1,1;industrialtest_gui_electricity_bg.png^[lowpart:"..powerPercent..":industrialtest_gui_electricity_fg.png]"
|
||||
or "image[4.7,2.7;1,1;industrialtest_gui_electricity_bg.png]"),
|
||||
industrialtest.internal.getItemSlotBg(4.7,3.7,1,1),
|
||||
"list[context;powerStorage;4.7,3.7;1,1]",
|
||||
"listring[context;powerStorage]"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user