Update the implementation to use an extended sheet class instead of a setting
This commit is contained in:
parent
f8c21ac8d8
commit
6f04910d2c
6 changed files with 20 additions and 49 deletions
8
module/apps/SingleModePlayerSheet.mjs
Normal file
8
module/apps/SingleModePlayerSheet.mjs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { PlayerSheet } from "./PlayerSheet.mjs";
|
||||
|
||||
export class SingleModePlayerSheet extends PlayerSheet {
|
||||
async _prepareContent(ctx) {
|
||||
await super._prepareContent(ctx);
|
||||
ctx.toggled = false;
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue