mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Update character.mjs (#506)
This commit is contained in:
parent
371e6db0ee
commit
66fc4e2854
1 changed files with 1 additions and 1 deletions
|
|
@ -640,7 +640,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
||||||
await item.update({ 'system.equipped': true });
|
await item.update({ 'system.equipped': true });
|
||||||
break;
|
break;
|
||||||
case 'weapon':
|
case 'weapon':
|
||||||
if (this.document.effects.find(x => x.type === 'beastform')) {
|
if (this.document.effects.find(x => !x.disabled && x.type === 'beastform')) {
|
||||||
return ui.notifications.warn(
|
return ui.notifications.warn(
|
||||||
game.i18n.localize('DAGGERHEART.UI.Notifications.beastformEquipWeapon')
|
game.i18n.localize('DAGGERHEART.UI.Notifications.beastformEquipWeapon')
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue