diff --git a/module/item-sheet.js b/module/item-sheet.js index aef5a734..7e260cba 100644 --- a/module/item-sheet.js +++ b/module/item-sheet.js @@ -33,6 +33,7 @@ export class RdDItemSheet extends ItemSheet { let data = super.getData(); data.bonusCaseList = RdDItemSort.getBonusCaseList(data, true); + data.isGM = game.user.isGM; // Pour vérouiller certaines éditions return data; } diff --git a/templates/item-competence-sheet.html b/templates/item-competence-sheet.html index 764801c0..d15ba0f4 100644 --- a/templates/item-competence-sheet.html +++ b/templates/item-competence-sheet.html @@ -2,7 +2,13 @@
-

+

+ {{#if isGM}} + + {{else}} + {{item.name}} + {{/if}} +