diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/commands/mod/dumb.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands/mod/dumb.js b/server/src/commands/mod/dumb.js index ac2d995..ef2c5b2 100644 --- a/server/src/commands/mod/dumb.js +++ b/server/src/commands/mod/dumb.js @@ -43,7 +43,7 @@ exports.run = async (core, server, socket, data) => { dumb:true } - if(data.allies && data.allies.constructor === Array){ + if(data.allies && Array.isArray(data.allies)){ record.allies = data.allies; } |