Fix deprecation warnings for v12
This commit is contained in:
parent
2df7d2243f
commit
484c7a375c
17 changed files with 17 additions and 17 deletions
|
|
@ -6,7 +6,7 @@ import { GenericContextMenu } from "../../../utils/GenericContextMenu.mjs";
|
|||
|
||||
export class PlayerSheetv2 extends GenericActorSheet {
|
||||
static get defaultOptions() {
|
||||
let opts = mergeObject(
|
||||
let opts = foundry.utils.mergeObject(
|
||||
super.defaultOptions,
|
||||
{
|
||||
template: `systems/dotdungeon/templates/actors/char-sheet/v2/sheet.hbs`,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import DOTDUNGEON from "../config.mjs";
|
|||
|
||||
export class GenericActorSheet extends ActorSheet {
|
||||
static get defaultOptions() {
|
||||
let opts = mergeObject(
|
||||
let opts = foundry.utils.mergeObject(
|
||||
super.defaultOptions,
|
||||
{
|
||||
scrollY: [`.scrollable`],
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { GenericItemSheet } from "./GenericItemSheet.mjs";
|
|||
|
||||
export class AspectSheet extends GenericItemSheet {
|
||||
static get defaultOptions() {
|
||||
let opts = mergeObject(
|
||||
let opts = foundry.utils.mergeObject(
|
||||
super.defaultOptions,
|
||||
{
|
||||
template: `systems/dotdungeon/templates/items/aspect.hbs`,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { GenericItemSheet } from "./GenericItemSheet.mjs";
|
|||
|
||||
export class PetSheet extends GenericItemSheet {
|
||||
static get defaultOptions() {
|
||||
let opts = mergeObject(
|
||||
let opts = foundry.utils.mergeObject(
|
||||
super.defaultOptions,
|
||||
{
|
||||
template: `systems/dotdungeon/templates/items/pet.hbs`,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { GenericItemSheet } from "./GenericItemSheet.mjs";
|
|||
|
||||
export class SpellSheet extends GenericItemSheet {
|
||||
static get defaultOptions() {
|
||||
let opts = mergeObject(
|
||||
let opts = foundry.utils.mergeObject(
|
||||
super.defaultOptions,
|
||||
{
|
||||
template: `systems/dotdungeon/templates/items/spell.hbs`,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { GenericItemSheet } from "./GenericItemSheet.mjs";
|
|||
|
||||
export class UntypedItemSheet extends GenericItemSheet {
|
||||
static get defaultOptions() {
|
||||
let opts = mergeObject(
|
||||
let opts = foundry.utils.mergeObject(
|
||||
super.defaultOptions,
|
||||
{
|
||||
template: `systems/dotdungeon/templates/items/untyped/v2/index.hbs`,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ export class MVPPCSheet extends GenericActorSheet {
|
|||
/** @override {ActorHandler} actor */
|
||||
|
||||
static get defaultOptions() {
|
||||
let opts = mergeObject(
|
||||
let opts = foundry.utils.mergeObject(
|
||||
super.defaultOptions,
|
||||
{
|
||||
template: `systems/dotdungeon/templates/actors/char-sheet-mvp/sheet.hbs`
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { DiceList } from "../dialogs/DiceList.mjs";
|
|||
|
||||
export class MobSheet extends GenericActorSheet {
|
||||
static get defaultOptions() {
|
||||
let opts = mergeObject(
|
||||
let opts = foundry.utils.mergeObject(
|
||||
super.defaultOptions,
|
||||
{
|
||||
template: `systems/dotdungeon/templates/actors/mobs/main.hbs`,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { GenericActorSheet } from "../GenericActorSheet.mjs";
|
|||
|
||||
export class AbstractSyncSheet extends GenericActorSheet {
|
||||
static get defaultOptions() {
|
||||
let opts = mergeObject(
|
||||
let opts = foundry.utils.mergeObject(
|
||||
super.defaultOptions,
|
||||
{
|
||||
width: 200,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue