Skip to content

Commit

Permalink
Fixes Seeder, AIP (#281)
Browse files Browse the repository at this point in the history
* Seeder AIP and Filter rolltables assignment

* Update module.json
  • Loading branch information
DanielBoettner authored Feb 14, 2022
1 parent 21fcc79 commit df7be00
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "lootsheetnpc5e",
"title": "LootsheetNPC5e",
"description": "This module adds an additional NPC sheet. It can be used for loot containers such as chests or shopkeepers.",
"version": "3.5.2",
"version": "3.5.3",
"manifestPlusVersion": "1.2.0",
"minimumCoreVersion": "0.9.0",
"compatibleCoreVersion": "9.249",
Expand Down Expand Up @@ -81,5 +81,5 @@
"socket": true,
"url": "https://github.com/jopeek/fvtt-loot-sheet-npc-5e",
"manifest": "https://raw.githubusercontent.com/jopeek/fvtt-loot-sheet-npc-5e/master/src/module.json",
"download": "https://github.com/jopeek/fvtt-loot-sheet-npc-5e/releases/download/v3.5.2/lootsheetnpc5e.zip"
"download": "https://github.com/jopeek/fvtt-loot-sheet-npc-5e/releases/download/v3.5.3/lootsheetnpc5e.zip"
}
4 changes: 2 additions & 2 deletions src/modules/helper/ActorHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class ActorHelper {
* @returns {Array<string>} a list of RollTable.uuids
*
*/
static getRollTables(actor) {
static getRollTables(actor) {
const creatureType = actor.data.data.details.type.value,
rolltableFromActor = this.getLinkedRolltable(actor),
rolltableByCreature = this.getLinkedRolltableByCreatureType(creatureType),
Expand All @@ -23,7 +23,7 @@ export class ActorHelper {
if (rolltableFromActor) {
rolltables.push(rolltableFromActor);
} else if (rolltableByFilters) {
rolltables.push(rolltableByFilters);
rolltables = rolltables.concat(...rolltableByFilters);
} else if (rolltableByCreature) {
rolltables.push(rolltableByCreature);
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/hooks/LootsheetNPC5eHooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class LootsheetNPC5eHooks {
packageName: MODULE.ns,
sheetClasses: [
{
name: 'lootsheetnpc5e-rule-editor', // this _must_ be the class name of the `Application` you want it to apply to
name: 'LootSeederRuleEditor', // this _must_ be the class name of the `Application` you want it to apply to
fieldConfigs: [
{
selector: `.data-path-input`,
Expand Down

0 comments on commit df7be00

Please sign in to comment.