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
86 stars 52 forks source link

TypeError: Cannot read properties of null (reading 'name') #2120

Closed grz0 closed 3 weeks ago

grz0 commented 3 weeks ago

Describe the bug TypeError: Cannot read properties of null (reading 'name') reported in the console

To Reproduce

  1. Log in as a player when GM is not logged in
  2. Roll skill test
  3. Check console

Screenshots

TypeError: Cannot read properties of null (reading 'name')
    at SocketHandlers.executeOnUserAndWait (wfrp4e.js:19409:115)
    at SkillTest.updateMessageFlags (wfrp4e.js:3158:32)
    at SkillTest.renderRollCard (wfrp4e.js:3125:18)
    at async SkillTest.roll (wfrp4e.js:2401:7)
    at async SkillTest.roll (wfrp4e.js:15282:5)

image

Version Numbers

Foundry: 11.315 wfrp4e: 7.2.2 wfrp4e-core: 5.0.6