fix lookup bug
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2025-05-22 14:26:45 -04:00
parent 93a4d16427
commit 47e0ee824c

View File

@ -115,7 +115,7 @@ public class ImGuiEntityPhysicsTab {
//synchronized data
if(
Globals.clientState.clientSceneWrapper.getScene().getEntityFromId(detailViewEntity.getId()) != null &&
Globals.clientState.clientSceneWrapper.mapClientToServerId(detailViewEntity.getId()) != -1
Globals.clientState.clientSceneWrapper.containsServerId(detailViewEntity.getId())
){
//detailViewEntity is a client entity
//get server entity