diff --git a/src/main/java/electrosphere/net/synchronization/client/ClientSynchronizationManager.java b/src/main/java/electrosphere/net/synchronization/client/ClientSynchronizationManager.java index 5cae385a..5ceff66d 100644 --- a/src/main/java/electrosphere/net/synchronization/client/ClientSynchronizationManager.java +++ b/src/main/java/electrosphere/net/synchronization/client/ClientSynchronizationManager.java @@ -111,15 +111,16 @@ public class ClientSynchronizationManager { Globals.clientSceneWrapper.getScene().describeScene(); throw new IllegalStateException(errorMessage); } else if(!Globals.clientSceneWrapper.containsServerId(message.getentityId()) && !Globals.clientSceneWrapper.hasBeenDeleted(message.getentityId())){ - String errorMessage = - "Client received synchronization packet for entity that does not exists on client!\n" + - "This ID was never created on the client, yet the client is receiving a synchronization packet for it!\n" + - "Entity id in network message: " + message.getentityId() - ; - Globals.clientSceneWrapper.dumpTranslationLayerStatus(); - Globals.clientSceneWrapper.dumpIdData(message.getentityId()); - Globals.clientSceneWrapper.getScene().describeScene(); - throw new IllegalStateException(errorMessage); + //TODO: have client send query to server to resend this entity + // String errorMessage = + // "Client received synchronization packet for entity that does not exists on client!\n" + + // "This ID was never created on the client, yet the client is receiving a synchronization packet for it!\n" + + // "Entity id in network message: " + message.getentityId() + // ; + // Globals.clientSceneWrapper.dumpTranslationLayerStatus(); + // Globals.clientSceneWrapper.dumpIdData(message.getentityId()); + // Globals.clientSceneWrapper.getScene().describeScene(); + // throw new IllegalStateException(errorMessage); } //warn if a message has bounced a certain number of times