From a4e6af48965c69008459b81bd852be47707a28f4 Mon Sep 17 00:00:00 2001 From: austin Date: Wed, 28 Aug 2024 17:07:59 -0400 Subject: [PATCH] comment out error from clientsyncmanager --- .../client/ClientSynchronizationManager.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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