Skip to content

Commit

Permalink
Merge pull request #36 from p4535992/master
Browse files Browse the repository at this point in the history
u
  • Loading branch information
p4535992 authored Jan 7, 2024
2 parents d3565a3 + c6b35d3 commit 95fc10e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 1.4.2-3
### 1.4.2-3-4

- Bug fix https://github.com/PwQt/magic-items-2/issues/33

Expand Down
2 changes: 1 addition & 1 deletion src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "magic-items-2",
"title": "Magic Items 2",
"description": "Module that adds the ability to create magical items with spells or feats that belong to the item itself, such as staffs or magic wands, which will be automatically inherited from the character who owns the item.",
"version": "1.4.3",
"version": "1.4.4",
"compatibility": {
"minimum": 11,
"verified": 11,
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/magic-item-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class MagiItemHelpers {
return value;
}
// if is a string but with a numeric value
else if (!isNaN(parseFloat(n)) && isFinite(n)) {
else if (!isNaN(parseFloat(value)) && isFinite(value)) {
return parseInt(value);
}
// if is something else
Expand Down

0 comments on commit 95fc10e

Please sign in to comment.