Remove the devMode settings and use the inDev flag instead

This commit is contained in:
Oliver 2025-12-24 20:21:32 -07:00
parent f1b23c54d8
commit 8ea22d7eaf
6 changed files with 3 additions and 39 deletions

View file

@ -57,7 +57,7 @@ export class ArmourData extends CommonItemData {
};
async _preUpdate(changes, options, user) {
if (options.force && game.settings.get(`ripcrypt`, `devMode`)) { return };
if (options.force && game.system.flags.inDev) { return };
// Ensure changes is a diffed object
const diff = diffObject(this.parent._source, changes);