Skip to content

Commit

Permalink
fix(handlebars helper core): fixed the dynamic item creation of actor…
Browse files Browse the repository at this point in the history
… sheet
  • Loading branch information
SouOWendel committed Apr 4, 2024
1 parent 7a0c316 commit 8b011b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions module/ordemparanormal_fvtt.mjs
Expand Up @@ -238,9 +238,10 @@ Handlebars.registerHelper('ifInequals', function (arg1, arg2, options) {
});

Handlebars.registerHelper('abilityTypeHelper', function (arg) {
if (arg == 1) return 'ability';
else if (arg == 2) return 'class';
if (arg == 1) return 'class';
else if (arg == 2) return 'path';
else if (arg == 3) return 'paranormal';
else if (arg == 4) return 'ability';
});

Handlebars.registerHelper('inputValid', function (arg1, arg2) {
Expand Down

0 comments on commit 8b011b8

Please sign in to comment.