comment out error from clientsyncmanager
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2024-08-28 17:07:59 -04:00
parent 2c3e377810
commit a4e6af4896

View File

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