From e3501ff6f2e54e8cc9b28cb46a83ebb3f2ff8abd Mon Sep 17 00:00:00 2001 From: Arnold Zhou Date: Sat, 29 Jun 2024 12:49:48 +1000 Subject: [PATCH] fix: replace deprecated getObject function --- src/entityViewer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entityViewer.ts b/src/entityViewer.ts index a584578..fc2d293 100644 --- a/src/entityViewer.ts +++ b/src/entityViewer.ts @@ -132,7 +132,7 @@ namespace EntityViewer { ]); - const rideObject = context.getObject("ride", car.rideObject); + const rideObject = objectManager.getObject("ride", car.rideObject); const vehicleObject = rideObject.vehicles[car.vehicleObject]; data = data.concat([