diff --git a/game.js b/game.js index 3923aa1..ac616de 100644 --- a/game.js +++ b/game.js @@ -209,7 +209,14 @@ class Game extends GameBasic { "body": f } ); - j = await j.json(); + + j = await j.text(); + + try { + j = JSON.parse(j); + } catch (err) { + j = {}; + } if (j.username == '!nobody' || !j.username) return;