moo-man / WFRP4e-FoundryVTT

The premiere system for running grim and perilous games of Warhammer Fantasy Role-play in the Foundry VTT environment.
Apache License 2.0
92 stars 54 forks source link

[WFRP4e System] Command /exp does not work on player side #2208

Closed moo-man closed 2 months ago

moo-man commented 2 months ago

To repoduce : 1 - Issue a /exp command on GM side 2 - Click on "receive" on Player side => Console error


Uncaught TypeError: game.user.character.awardExp is not a function
[Detected 1 package: system:wfrp4e(8.0.2)]
    at ChatWFRP._onExpButtonClicked (wfrp4e.js:5306:27)
    at HTMLElement.dispatch (jquery.min.js:2:40035)
    at v.handle (jquery.min.js:2:38006)
```<br/>**From**: LeRatierBretonnien<br/>foundry: 12.331<br/>wfrp4e: 8.0.2<br/>wfrp4e-core: 6.0.0<br/>Active Modules: babele, fr-core, lib-wrapper, warhammer-lib, wfrp4e-eis-maps, wh4-fr-translation