diff --git a/module/item-sort.js b/module/item-sort.js index 6bff1c59..1ebf950b 100644 --- a/module/item-sort.js +++ b/module/item-sort.js @@ -114,7 +114,7 @@ export class RdDItemSort extends Item { let bonusCaseList = this.buildBonusCaseList(sort.data.bonuscase, false); for( let bc of bonusCaseList) { if (bc.case == coordTMR) { // Case existante - return bc.bonus; + return Number(bc.bonus); } } return 0; diff --git a/system.json b/system.json index 75b4da69..7aa5ee36 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "1.2.30", + "version": "1.2.31", "manifestPlusVersion": "1.0.0", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.8",