Removed temp button to open character setup

This commit is contained in:
WBHarry 2025-06-18 15:43:07 +02:00
parent a902b2f1e5
commit 12573cbc38
2 changed files with 1 additions and 8 deletions

View file

@ -6,7 +6,6 @@ import DaggerheartSheet from './daggerheart-sheet.mjs';
import { abilities } from '../../config/actorConfig.mjs';
import DhlevelUp from '../levelup.mjs';
import DHDualityRoll from '../../data/chat-message/dualityRoll.mjs';
import DhCharacterCreation from '../characterCreation.mjs';
const { ActorSheetV2 } = foundry.applications.sheets;
const { TextEditor } = foundry.applications.ux;
@ -48,8 +47,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
useAdvancementCard: this.useAdvancementCard,
useAdvancementAbility: this.useAdvancementAbility,
toggleEquipItem: this.toggleEquipItem,
levelup: this.openLevelUp,
temp: this.temp
levelup: this.openLevelUp
},
window: {
minimizable: false,
@ -385,10 +383,6 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
new DhlevelUp(this.document).render(true);
}
static temp() {
new DhCharacterCreation(this.document).render(true);
}
static async useDomainCard(_, button) {
const card = this.document.items.find(x => x.uuid === button.dataset.key);

View file

@ -1,6 +1,5 @@
<div>
<header>
<button data-action="temp">Test</button>
<div class="pc-sheet-header">
<div class="class-info">
<div class="flexrow">