Skip to content

Commit ecb31ad

Browse files
committed
Make sure to send Health Info to Client
1 parent 158a8f7 commit ecb31ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BPEssentials/Commands/Vehicles/RepairVehicle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public void Invoke(ShPlayer player)
1414
player.TS("player_notInVehicle");
1515
return;
1616
}
17-
vehicle.RestoreStats();
17+
vehicle.svTransport.SvHeal(vehicle.maxStat);
1818
player.TS("player_vehicle_repaired", vehicle.name);
1919
}
2020
}

0 commit comments

Comments
 (0)