forked from GitHub-Mirrors/foundry-sw5e
Temp - everything is broken
This commit is contained in:
parent
a291d0c909
commit
3d7c24ca17
2 changed files with 122 additions and 14 deletions
|
@ -347,7 +347,11 @@ export default class ActorSheet5eCharacterNew extends ActorSheet5e {
|
|||
if ( itemData.type === "class" ) {
|
||||
const cls = this.actor.itemTypes.class.find(c => c.name === itemData.name);
|
||||
const classWasAlreadyPresent = !!cls;
|
||||
|
||||
/*DEBUG*/
|
||||
console.log("SW5e | Character Importer: cls: " + cls);
|
||||
console.log("SW5e | Character Importer: classWasAlreadyPresent: " + classWasAlreadyPresent);
|
||||
/*DEBUG*/
|
||||
|
||||
// Add new features for class level
|
||||
if ( !classWasAlreadyPresent ) {
|
||||
Actor5e.getClassFeatures(itemData).then(features => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue