Skip to content

Commit

Permalink
Remove unneeded override
Browse files Browse the repository at this point in the history
Not sure when it was fixed in foundry but it has been fixed.
  • Loading branch information
BoltsJ committed May 25, 2024
1 parent 4de0580 commit 45b7fc7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lancer-combat.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,6 @@ export class LancerCombat extends Combat {
}

export class LancerCombatant extends Combatant {
/**
* This just fixes a bug in foundry 0.8.x that prevents Combatants with no
* associated token or actor from being modified, even by the GM
*/
testUserPermission(user, permission, options) {
return this.actor?.testUserPermission(user, permission, options) ?? user.isGM;
}

prepareBaseData() {
super.prepareBaseData();
const module = CONFIG.LancerInitiative.module;
Expand Down

0 comments on commit 45b7fc7

Please sign in to comment.