fix: fixed client damaged error

This commit is contained in:
amizing25
2025-08-22 06:04:37 +07:00
parent ee7fa339fb
commit d66398b9b8
5 changed files with 57 additions and 13 deletions

View File

@@ -6,9 +6,10 @@ pub mod censorship_patch;
pub mod crypto;
pub mod hk_check;
pub mod network;
pub mod misc;
pub struct HkrpgModuleContext<T> {
base: usize,
_base: usize,
interceptor: Interceptor,
_module_type: PhantomData<T>,
}
@@ -16,8 +17,8 @@ pub struct HkrpgModuleContext<T> {
impl<T> HkrpgModuleContext<T> {
fn new(base: usize) -> Self {
Self {
base,
interceptor: Interceptor::default(),
_base: base,
interceptor: Interceptor::new(),
_module_type: PhantomData,
}
}