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();
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