mirror of
https://github.com/MinetestForFun/minercantile.git
synced 2024-12-23 08:10:22 +01:00
fix wrong code
This commit is contained in:
parent
cb24bfea94
commit
58c7496d7b
4
shop.lua
4
shop.lua
@ -129,10 +129,10 @@ function minercantile.load_stock()
|
|||||||
minercantile.stock.items = table.copy(data.items)
|
minercantile.stock.items = table.copy(data.items)
|
||||||
end
|
end
|
||||||
if data.transac_b then
|
if data.transac_b then
|
||||||
minercantile.stock.transac_b = table.copy(data.transac_b)
|
minercantile.stock.transac_b = data.transac_b
|
||||||
end
|
end
|
||||||
if data.transac_s then
|
if data.transac_s then
|
||||||
minercantile.stock.transac_s = table.copy(data.transac_s)
|
minercantile.stock.transac_s = data.transac_s
|
||||||
end
|
end
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user