Skip to content

Commit

Permalink
Update to 1.20.2-pre1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Sep 5, 2023
1 parent 414cb4a commit 3581bbc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/wurstclient/mixin/MinecraftClientMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private void onDoItemPick(CallbackInfo ci)
}

@Inject(at = @At("HEAD"),
method = "getSession()Lnet/minecraft/client/util/Session;",
method = "getSession()Lnet/minecraft/client/session/Session;",
cancellable = true)
private void onGetSession(CallbackInfoReturnable<Session> cir)
{
Expand All @@ -149,7 +149,7 @@ public void onGetGameProfile(CallbackInfoReturnable<GameProfile> cir)
}

@Inject(at = @At("HEAD"),
method = "getProfileKeys()Lnet/minecraft/client/util/ProfileKeys;",
method = "getProfileKeys()Lnet/minecraft/client/session/ProfileKeys;",
cancellable = true)
private void onGetProfileKeys(CallbackInfoReturnable<ProfileKeys> cir)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;

import net.minecraft.client.session.telemetry.TelemetryManager;
import net.minecraft.client.session.telemetry.TelemetrySender;
import net.wurstclient.WurstClient;
Expand All @@ -19,7 +20,7 @@
public class TelemetryManagerMixin
{
@Inject(at = @At("HEAD"),
method = "getSender()Lnet/minecraft/client/util/telemetry/TelemetrySender;",
method = "getSender()Lnet/minecraft/client/session/telemetry/TelemetrySender;",
cancellable = true)
private void onGetSender(CallbackInfoReturnable<TelemetrySender> cir)
{
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@

"depends": {
"fabricloader": ">=0.14.22",
"fabric-api": ">=0.87.2",
"minecraft": "~1.20.2-alpha.23.35.a",
"fabric-api": ">=0.88.2",
"minecraft": "~1.20.2-beta.1",
"java": ">=17"
},
"suggests": {
Expand Down

0 comments on commit 3581bbc

Please sign in to comment.