diff options
Diffstat (limited to 'Forge/src')
| -rw-r--r-- | Forge/src/main/java/com/aizistral/nochatrestrictions/core/WrappedUserApiService.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Forge/src/main/java/com/aizistral/nochatrestrictions/core/WrappedUserApiService.java b/Forge/src/main/java/com/aizistral/nochatrestrictions/core/WrappedUserApiService.java index 2206cd8..6ca55cf 100644 --- a/Forge/src/main/java/com/aizistral/nochatrestrictions/core/WrappedUserApiService.java +++ b/Forge/src/main/java/com/aizistral/nochatrestrictions/core/WrappedUserApiService.java @@ -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(); + } + } |
