Skip to content

Commit

Permalink
Merge pull request #42 from Roger92/devRoger
Browse files Browse the repository at this point in the history
V12 Compatibility
  • Loading branch information
Roger92 authored Jun 8, 2024
2 parents cf57066 + 75a9525 commit 5d54838
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ It adds additional labels for the metric measurements to your ruler. It is not c
You can now add your [Customizable Measurement Conversions](#customizable-conversions) and [Travel times](#travel-times) if you want :) Have fun!
Compatability with V11!!!

## V11 - Compatability
The latest version is compatible with V11. If you find problems with future subversions of V11, then please let me know.
## V12 - Compatability
The latest version is compatible with V12. If you find problems with future subversions of V12, then please let me know.
Please note that Release 1.1.0 and above are not compatible with foundry versions below V9 :)(They might work with earlier versions than V9 but its not supported)

## Table of Contents
Expand Down Expand Up @@ -109,6 +109,8 @@ Nothing yet. Feel free to recommend enhancements.
If you find a bug or have any feedback for me just add an issue in the [issuetracker](https://github.com/Roger92/metric-ruler-labels/issues). Thx alot and i hope this module helps you in your game :)

## Changelog
**v3.2.0**
- V12 Compatibility

**v3.1.9**
- Just removed some console logs :)
Expand Down
6 changes: 3 additions & 3 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"library": "false",
"manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "9",
"compatibleCoreVersion": "11",
"compatibleCoreVersion": "12",
"compatibility": {
"minimum": "9",
"verified": "11",
"maximum": "11"
"verified": "12",
"maximum": "12"
},
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion scripts/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Hooks.once('ready', () => {

//Check foundry generation
let foundryGeneration = game.release.generation;
if (foundryGeneration < 9 || foundryGeneration > 11) {
if (foundryGeneration < 9 || foundryGeneration > 12) {
showIncompatibilityDialog(foundryGeneration);
}

Expand Down

0 comments on commit 5d54838

Please sign in to comment.