Skip to content

Commit

Permalink
Module.json update and PC filter
Browse files Browse the repository at this point in the history
  • Loading branch information
cswendrowski committed Dec 27, 2020
1 parent f2bbf24 commit 1b2e80d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "encounter-builder",
"title": "Dungeon Moon Encounter Builder",
"title": "🌑 Dungeon Moon Encounter Builder",
"description": "",
"version": "0.0.1",
"minimumCoreVersion": "0.7.7",
"compatibleCoreVersion": "0.7.7",
"compatibleCoreVersion": "0.7.9",
"author": "Cody Swendrowski <[email protected]>",
"dependencies": [{
"name": "dlopen",
Expand Down
2 changes: 1 addition & 1 deletion vue/EncounterBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export default {
},
async mounted() {
//console.log("Mounted!");
let characters = game.actors.entities.filter(x => x.hasPlayerOwner);
let characters = game.actors.entities.filter(x => x.hasPlayerOwner && x.data.type == "character");
//console.log(characters);
if (characters.length > 0) {
this.numberOfPartyMembers = characters.length;
Expand Down

0 comments on commit 1b2e80d

Please sign in to comment.