Crash in PlayerDeathSystem while trying to update statistics #234
Labels
Category: Crash
Requests, Issues and Changes targeting unexpected terminations, segfaults, etc.
Multiplayer
Affects aspects not visible in Singleplayer mode only
Type: Bug
Issues reporting and PRs fixing problems
During play-testing https://github.com/MovingBlocks/Terasology/releases/tag/v5.2.0-rc.1 the (headless) server crashed due to the following NPE when updating the player statistics:
This occurs when the player does not have a
PlayerStatisticsComponent
.LightAndShadow/src/main/java/org/terasology/ligthandshadow/componentsystem/controllers/PlayerDeathSystem.java
Lines 90 to 99 in 8c937cd
The text was updated successfully, but these errors were encountered: