Dead players alive-d on join
@@ -175,6 +175,9 @@ private void restoreCharacter(EntityRef entity, EntityRef character) {
characterComp.controller = entity;
character.saveComponent(characterComp);
character.setOwner(entity);
+ if (!character.hasComponent(AliveCharacterComponent.class)) {
+ character.addComponent(new AliveCharacterComponent());
+ }
Location.attachChild(character, entity, new Vector3f(), new Quat4f(0, 0, 0, 1));
} else {
character.destroy();
