chore: V11 compat
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "10",
|
"minimum": "10",
|
||||||
"verified": "10.287",
|
"verified": "10.287",
|
||||||
"maximum": "10"
|
"maximum": "11"
|
||||||
},
|
},
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"id": "wfrp4e",
|
"id": "wfrp4e",
|
||||||
"type": "system",
|
"type": "system",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"verified": "6.1.4"
|
"verified": "6.5.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ async function generate(actor: Actor & any, docBuilder: AbstractBuilder) {
|
|||||||
let actorImageData: string | null = null;
|
let actorImageData: string | null = null;
|
||||||
if (actorImage != null) {
|
if (actorImage != null) {
|
||||||
const texture = await loadTexture(actorImage);
|
const texture = await loadTexture(actorImage);
|
||||||
actorImageData = ImageHelper.textureToImage(texture);
|
actorImageData = await ImageHelper.textureToImage(texture);
|
||||||
}
|
}
|
||||||
const currentCareer: Item & any = actor.currentCareer;
|
const currentCareer: Item & any = actor.currentCareer;
|
||||||
const careerData: ItemData & any = currentCareer;
|
const careerData: ItemData & any = currentCareer;
|
||||||
|
|||||||
Reference in New Issue
Block a user