Remove the devMode settings and use the inDev flag instead
This commit is contained in:
parent
f1b23c54d8
commit
8ea22d7eaf
6 changed files with 3 additions and 39 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue