Sorts et dévotions
This commit is contained in:
@ -44,7 +44,14 @@ export class VadentisItemSheet extends ItemSheet {
|
||||
/* -------------------------------------------- */
|
||||
async getData() {
|
||||
let data = super.getData();
|
||||
if (data.item.type == 'sort') {
|
||||
data.donnees = await VadentisUtility.getDonnees();
|
||||
}
|
||||
if (data.item.type == 'devotion') {
|
||||
data.eglises = await VadentisUtility.getEglises();
|
||||
}
|
||||
data.isGM = game.user.isGM;
|
||||
console.log("DATA", data);
|
||||
return data;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user