mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 04:01:06 +01:00
Remove console log
This commit is contained in:
parent
d7a2c05694
commit
3d034cd24e
6 changed files with 4 additions and 28 deletions
|
|
@ -2,13 +2,7 @@ import { actionsTypes } from "../action/_module.mjs";
|
|||
|
||||
// Temporary Solution
|
||||
export default class ActionField extends foundry.data.fields.ObjectField {
|
||||
/** @override */
|
||||
// initialize(value, model, options={}) {
|
||||
// console.log('initialize', value.type)
|
||||
// this.model = actionsTypes[value?.type] ?? actionsTypes.attack;
|
||||
// this.fields = this._initialize(this.model.defineSchema());
|
||||
// return super.initialize(value, model, options)
|
||||
// }
|
||||
|
||||
getModel(value) {
|
||||
return actionsTypes[value.type] ?? actionsTypes.attack;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue