fix profiler bug
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
6ac45b47a2
commit
8517ddbc15
@ -46,10 +46,11 @@ public class EntityProtocol implements ClientProtocolTemplate<EntityMessage> {
|
||||
|
||||
@Override
|
||||
public void handleSyncMessage(EntityMessage message) {
|
||||
Globals.profiler.beginAggregateCpuSample("EntityProtocol.handleEntityMessage");
|
||||
Globals.profiler.beginAggregateCpuSample("EntityProtocol.handleSyncMessage");
|
||||
LoggerInterface.loggerNetworking.DEBUG_LOOP("Parse entity message of type " + message.getMessageSubtype());
|
||||
|
||||
if(Globals.clientState.clientScene != null && Globals.clientState.clientSynchronizationManager.isDeleted(message.getentityID())){
|
||||
Globals.profiler.endCpuSample();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user