From 9477e3c8e915b89f248b6a4a005854a1869e5339 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Fri, 25 Oct 2024 20:39:48 +1100 Subject: [PATCH] fix(server/vehicle): dumb --- server/vehicle/class.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/vehicle/class.ts b/server/vehicle/class.ts index edb5a1c..ab4d11f 100644 --- a/server/vehicle/class.ts +++ b/server/vehicle/class.ts @@ -246,7 +246,7 @@ export class OxVehicle extends ClassInterface { setPlate(plate: string) { if (this.plate === plate) return; - this.plate = this.plate.length > 8 ? this.plate.substring(0, 8) : this.plate.padEnd(8); + this.plate = plate.length > 8 ? plate.substring(0, 8) : plate.padEnd(8); SetVehicleColumn(this.id, 'plate', this.plate); }