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 actions = feature.actions.map(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
}));
const actionEffects = actions.flatMap(a => a.effects);