cleanup
This commit is contained in:
parent
26233d61ea
commit
05933af152
10 changed files with 22 additions and 15 deletions
|
@ -78,7 +78,7 @@ export class DS4ItemSheet extends ItemSheet<ItemSheet.Options, DS4ItemSheetData>
|
|||
|
||||
switch (a.dataset["action"]) {
|
||||
case "create":
|
||||
return this._createActiveEffect();
|
||||
return this.createActiveEffect();
|
||||
case "edit":
|
||||
const id = li.data("effectId");
|
||||
const effect = this.item.effects.get(id);
|
||||
|
@ -97,7 +97,7 @@ export class DS4ItemSheet extends ItemSheet<ItemSheet.Options, DS4ItemSheetData>
|
|||
/**
|
||||
* Create a new ActiveEffect for the item using default data.
|
||||
*/
|
||||
protected async _createActiveEffect(): Promise<ActiveEffect | undefined> {
|
||||
protected async createActiveEffect(): Promise<ActiveEffect | undefined> {
|
||||
const createData = {
|
||||
label: "New Effect",
|
||||
icon: "icons/svg/aura.svg",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue