Fixed clientsPreparingToRespawn
@@ -99,14 +99,7 @@ public void update(float delta) {
while (i.hasNext()) {
SpawningClientInfo spawning = i.next();
if (worldProvider.isBlockRelevant(spawning.position)) {
- PlayerStore playerStore = spawning.playerStore;
- if (playerStore == null) {
respawnPlayer(spawning.clientEntity);
- } else {
- playerStore.restoreEntities();
- EntityRef character = playerStore.getCharacter();
- restoreCharacter(spawning.clientEntity, character);
- }
i.remove();
}
}
