forked from GitHub-Mirrors/foundry-sw5e
Temporary fix on leveling
This commit is contained in:
parent
3d7c24ca17
commit
ad038b8b03
2 changed files with 165 additions and 132 deletions
|
@ -347,10 +347,6 @@ 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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue