Fixed `listring`s?
This commit is contained in:
parent
196e098c57
commit
3f849edf09
|
@ -119,6 +119,9 @@ local function allow_metadata_inventory_put(pos, listname, index, stack, player)
|
|||
end
|
||||
elseif listname == "src" or listname == "dst" then
|
||||
return stack:get_count()
|
||||
|
||||
elseif listname == "dst" then
|
||||
return 0
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ function get_energy_collector_formspec()
|
|||
local formspec = {
|
||||
"size[8,10]",
|
||||
"label[3,2;Orb]",
|
||||
"list[context;dist;4,2;1,1;]",
|
||||
"list[context;dst;4,2;1,1;]",
|
||||
mcl_formspec.get_itemslot_bg(4,2,1,1),
|
||||
"list[current_player;main;0,5;9,3;9]",
|
||||
mcl_formspec.get_itemslot_bg(0,5,9,3),
|
||||
|
|
Loading…
Reference in New Issue