#61 added webpage to master, some more plugin work

This commit is contained in:
Danielv123 committed 2017-11-29 09:02:11 +01:00
1 parent 227ac87018
commit ffe2df55c4
4 files changed
+24 -2

No files matched your search

-1
View File
@@ -12,7 +12,6 @@ process.stdin.on('readable', () => {
var chunk = process.stdin.read();
// console.log(chunk)
if (chunk !== null && isNaN(chunk) && config && isJson(chunk) && !JSON.parse(chunk).factorioPort){
let inventory = JSON.parse(chunk)
// process inventory of players and ask master for more stuff
functions.handleInventory(inventory, config, console.log);