Reverted party auto permission
Some checks are pending
Project CI / build (24.x) (push) Waiting to run

This commit is contained in:
WBHarry 2026-04-24 00:28:08 +02:00
parent f45b1210c7
commit da11510e02
2 changed files with 1 additions and 7 deletions

View file

@ -453,7 +453,7 @@ export const allArmorFeatures = () => {
const feature = homebrewFeatures[key]; const feature = homebrewFeatures[key];
const actions = feature.actions.map(action => ({ const actions = feature.actions.map(action => ({
...action, ...action,
effects: action.effects?.map(effect => feature.effects.find(x => x.id === effect._id))??[], effects: action.effects?.map(effect => feature.effects.find(x => x.id === effect._id)) ?? [],
type: action.type type: action.type
})); }));
const actionEffects = actions.flatMap(a => a.effects); const actionEffects = actions.flatMap(a => a.effects);

View file

@ -109,12 +109,6 @@ export default class DhpActor extends Actor {
}); });
} }
if (this.type === 'party') {
Object.assign(update, {
'ownership.default': CONST.DOCUMENT_OWNERSHIP_LEVELS.OWNER,
});
}
this.updateSource(update); this.updateSource(update);
} }