Skip to content

Commit

Permalink
5.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jopeek committed Mar 24, 2023
1 parent 39dea4b commit a023488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lootsheet-simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ class LootSheet5eNPC extends dnd5e.applications.actor.ActorSheet5eNPC {
return ui.notifications.error(`You must purchase items from a token.`);
}
// console.log(game.user.character);
if (!game.user.character._id) {
if (!game.user.character) {
// console.log("Loot Sheet | No active character for user");
return ui.notifications.error(`No active character for user.`);
}
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Loot Sheet NPC 5e (Simple Version)",
"description": "This module adds an additional NPC sheet which can be used for loot containers such as chests or shopkeepers.",
"version": "5.0.5",
"version": "5.0.6",
"esmodules": [
"/lootsheet-simple.js"
],
Expand Down

0 comments on commit a023488

Please sign in to comment.