mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
Merge remote-tracking branch 'refs/remotes/origin/json-parser'
# Conflicts: # clusterio_0.0.2/control.lua
This commit is contained in:
commit
72cef84df5
1 file changed
+3
@@ -318,7 +318,10 @@ remote.add_interface("clusterio",
|
||||
end,
|
||||
importMany = function(jsonString)
|
||||
local items = json:decode(jsonString)
|
||||
<<<<<<< HEAD
|
||||
game.print(serpent.block(items))
|
||||
=======
|
||||
>>>>>>> refs/remotes/origin/json-parser
|
||||
for k, item in pairs(items) do
|
||||
for itemName, itemCount in pairs(item) do
|
||||
GiveItemsToStorage(itemName, itemCount)
|
||||
|
||||
Reference in new issue
Block a user