From e37d81a724e5c3eb8d36affbeb9f8774b22ba225 Mon Sep 17 00:00:00 2001 From: Arnold Zhou Date: Sat, 24 Aug 2024 05:52:33 +1000 Subject: [PATCH] fix: replace deprecated getObject function (#7) --- 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([