From 84c24ed8b4aae5d7a02fbe8ae088be060ed64c26 Mon Sep 17 00:00:00 2001 From: Jan Ole Peek Date: Thu, 23 Dec 2021 09:22:54 -0800 Subject: [PATCH] Update LootsheetNPC5e.js --- modules/classes/LootsheetNPC5e.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/classes/LootsheetNPC5e.js b/modules/classes/LootsheetNPC5e.js index 058e38d0..c438a806 100644 --- a/modules/classes/LootsheetNPC5e.js +++ b/modules/classes/LootsheetNPC5e.js @@ -804,9 +804,9 @@ class LootSheetNPC5e extends ActorSheet5eNPC { loot.permissions = permissionsInfo; loot.playersPermission = commonPlayersPermission; loot.playersPermissionIcon = PermissionHelper.getPermissionInfo(commonPlayersPermission); - loot.playersPermissionDescription = PermissionHelper.getPermissionInfo(commonPlayersPermission).description; + loot.playersPermissionDescription = PermissionHelper.getPermissionInfo(commonPlayersPermission)?.description; actorData.flags.loot = loot; } } -export { LootSheetNPC5e }; \ No newline at end of file +export { LootSheetNPC5e };