The code had been running fine for months until 90 days ago when last was used. I am assuming roll20 updated something that has broken the script. <a href="https://github.com/Aragent/The-One-Ring-API" rel="nofollow">https://github.com/Aragent/The-One-Ring-API</a> is all the current api being run to make it all work for TOR I believe the tor-stance.js is the one that is having issues TypeError: Cannot read property 'set' of undefined TypeError: Cannot read property 'set' of undefined
at setStanceOnTokensCharacter (apiscript.js:2625:11)
at updateStanceOnDrop (apiscript.js:2590:9)
at apiscript.js:2563:5
at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:65:16)
at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:70:8)
at TrackedObj.set (/home/node/d20-api-server/api.js:1020:14)
at updateLocalCache (/home/node/d20-api-server/api.js:1318:18)
at /home/node/d20-api-server/api.js:1502:11
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560
at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)