mirror of
https://github.com/Aizistral-Studios/No-Chat-Restrictions.git
synced 2026-02-04 05:38:24 +00:00
Update mixins and code for 1.19
This commit is contained in:
@@ -6,6 +6,7 @@ import java.util.concurrent.Executor;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import com.mojang.authlib.minecraft.TelemetrySession;
|
||||
import com.mojang.authlib.minecraft.UserApiService;
|
||||
import com.mojang.authlib.yggdrasil.response.KeyPairResponse;
|
||||
|
||||
public class WrappedUserApiService implements UserApiService {
|
||||
private static final UserProperties FORCED_PROPERTIES;
|
||||
@@ -48,4 +49,10 @@ public class WrappedUserApiService implements UserApiService {
|
||||
return TelemetrySession.DISABLED;
|
||||
}
|
||||
|
||||
@Override
|
||||
public KeyPairResponse getKeyPair() {
|
||||
// Not doing anything with this as that's more of a No Chat Reports thing
|
||||
return this.service.getKeyPair();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ import java.util.concurrent.Executor;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import com.mojang.authlib.minecraft.TelemetrySession;
|
||||
import com.mojang.authlib.minecraft.UserApiService;
|
||||
import com.mojang.authlib.yggdrasil.response.KeyPairResponse;
|
||||
|
||||
public class WrappedUserApiService implements UserApiService {
|
||||
private static final UserProperties FORCED_PROPERTIES;
|
||||
@@ -48,4 +49,10 @@ public class WrappedUserApiService implements UserApiService {
|
||||
return TelemetrySession.DISABLED;
|
||||
}
|
||||
|
||||
@Override
|
||||
public KeyPairResponse getKeyPair() {
|
||||
// Not doing anything with this as that's more of a No Chat Reports thing
|
||||
return this.service.getKeyPair();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user