From a67a1d3d1dd43462baa42e6521a6bc10f2a3510d Mon Sep 17 00:00:00 2001 From: MCRcortex Date: Sun, 29 Apr 2018 19:30:44 +1000 Subject: [PATCH] fixed brakets --- client.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client.js b/client.js index 617cace3..5e56eacd 100644 --- a/client.js +++ b/client.js @@ -829,17 +829,17 @@ function instanceManagement() { } // if we got some confirmed orders // console.log("Importing " + confirmedOrders.length + " items! " + JSON.stringify(confirmedOrders)); - let cmd="{"; + let cmd="["; for(let i=0;i400)//450 //ITS SMALL SO FACTORIO DOESNT SPILT IT INTO MULTIPLE PACKETS { - messageInterface("/silent-command remote.call('clusterio', 'importMany', '"+cmd.slice(0, -1)+"}"+ "')"); - cmd="{"; + messageInterface("/silent-command remote.call('clusterio', 'importMany', '"+cmd.slice(0, -1)+"]"+ "')"); + cmd="["; } } - messageInterface("/silent-command remote.call('clusterio', 'importMany', '"+cmd.slice(0, -1)+"}"+ "')"); + messageInterface("/silent-command remote.call('clusterio', 'importMany', '"+cmd.slice(0, -1)+"]"+ "')"); confirmedOrders=[]; } }, 1000);