Skip to content

Commit

Permalink
Version 0.6.9 (#87)
Browse files Browse the repository at this point in the history
* Update module.json

* Fix midi/BR compatibility issue - credit tposney

* v0.6.9

Co-authored-by: MrVauxs <[email protected]>
  • Loading branch information
crash1115 and MrVauxs authored Apr 10, 2022
1 parent a501d17 commit a15522b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 0.6.9
- Restrict module to dnd5e system (credit MrVauxs)
- Fix compatibility issues with MidiQOL and BetterRolls (credit tposney)

# Version 0.6.8
- Fixed some small CSS issues (credit Varriount)
- Get rid of some log spam
Expand Down
5 changes: 3 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"url": "https://github.com/crash1115/5e-training",
"readme": "https://github.com/crash1115/5e-training/blob/master/README.md",
"bugs": "https://github.com/crash1115/5e-training/issues",
"version": "0.6.8",
"version": "0.6.9",
"system": ["dnd5e"],
"minimumCoreVersion": "0.8.2",
"compatibleCoreVersion": "9",
"minimumSystemVersion": "1.3.0",
Expand Down Expand Up @@ -37,5 +38,5 @@
}
],
"manifest": "https://raw.githubusercontent.com/crash1115/5e-training/master/module.json",
"download": "https://github.com/crash1115/5e-training/releases/download/v0.6.8/5e-training.zip"
"download": "https://github.com/crash1115/5e-training/releases/download/v0.6.9/5e-training.zip"
}
2 changes: 1 addition & 1 deletion scripts/CrashTrackingAndTraining.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export default class CrashTrackingAndTraining {
static getRollOptions(){
let options = {};
if (game.settings.get("5e-training", "gmOnlyMode")){ options.rollMode = "gmroll"; }; //GM Only Mode
if (!game.modules.get("midi-qol")?.active){ options.vanilla = true; }; //Handles BR. Want it on in all cases except when midi is enabled
if (!game.modules.get("midi-qol")?.active || isNewerVersion(game.modules.get("midi-qol").data.version, "0.9.25")) {options.vanilla = true} //Handles BR. Want it on in all cases except when midi is enabled
return options
}

Expand Down

0 comments on commit a15522b

Please sign in to comment.