forked from GitHub-Mirrors/foundry-sw5e
Update from 0.98 DND
Current 10-18-20
This commit is contained in:
parent
90fab8d89f
commit
b92edb4200
8 changed files with 34 additions and 14 deletions
|
@ -266,8 +266,7 @@ export default class ActorSheet5eCharacter extends ActorSheet5e {
|
|||
/** @override */
|
||||
async _onDropItemCreate(itemData) {
|
||||
|
||||
// Upgrade the number of class levels a character has
|
||||
// and add features
|
||||
// Upgrade the number of class levels a character has and add features
|
||||
if ( itemData.type === "class" ) {
|
||||
const cls = this.actor.itemTypes.class.find(c => c.name === itemData.name);
|
||||
const classWasAlreadyPresent = !!cls;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue