Fixed death screen component filter
@@ -70,7 +70,7 @@ public void onScreenshotCapture(ScreenshotButton event, EntityRef entity) {
}
}
- @ReceiveEvent(components = {ClientComponent.class})
+ @ReceiveEvent(components = {CharacterComponent.class})
public void onPlayerDeath(PlayerDeathEvent event, EntityRef character) {
EntityRef client = character.getComponent(CharacterComponent.class).controller;
if (client.getComponent(ClientComponent.class).local) {
