Fixes skill calculation.
This commit is contained in:
@@ -31,11 +31,9 @@ export class M5ItemSheet extends ItemSheet {
|
||||
let actor = this.object?.parent ?? null
|
||||
if (actor) {
|
||||
context.rollData = actor.getRollData()
|
||||
} else {
|
||||
}
|
||||
|
||||
// Add the actor's data to context.data for easier access, as well as flags.
|
||||
context.system = itemData.system
|
||||
context.data = itemData.system
|
||||
context.flags = itemData.flags
|
||||
|
||||
return context
|
||||
|
||||
Reference in New Issue
Block a user