Merge branch 'release/3.17'

This commit is contained in:
Megastruktur 2022-03-09 11:17:04 +03:00
commit 93fd9faa89
3 changed files with 12 additions and 5 deletions

View file

@ -1,3 +1,6 @@
v.3.17
- Fix Dice Roll icon in toolbar in V9 #172
v.3.16
- Fixes German translation

View file

@ -52,7 +52,7 @@ Hooks.once("init", async function() {
Items.unregisterSheet("core", ItemSheet);
Items.registerSheet("blades", BladesItemSheet, {makeDefault: true});
await preloadHandlebarsTemplates();
Actors.registeredSheets.forEach(element => console.log(element.Actor.name));
@ -296,5 +296,9 @@ Hooks.on("renderSceneControls", async (app, html) => {
dice_roller.click( async function() {
await simpleRollPopup();
});
html.append(dice_roller);
if ( !foundry.utils.isNewerVersion("9", game.version ?? game.data.version) ) {
html.children().first().append( dice_roller );
} else {
html.append( dice_roller );
}
});

View file

@ -2,9 +2,9 @@
"name": "blades-in-the-dark",
"title": "Blades in the Dark",
"description": "Blades in the dark game system.",
"version": "3.16",
"version": "3.17",
"minimumCoreVersion": "0.8.5",
"compatibleCoreVersion": "0.8.9",
"compatibleCoreVersion": "9",
"templateVersion": 1,
"author": "megastruktur",
"esmodules": [
@ -47,7 +47,7 @@
],
"url": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/",
"manifest": "https://raw.githubusercontent.com/megastruktur/foundryvtt-blades-in-the-dark/master/system.json",
"download": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/archive/3.16.zip",
"download": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/archive/3.17.zip",
"packs": [
{
"name": "class",