Skip to content

Commit

Permalink
v0.4.0-port-1.19.2: Fix merged issue
Browse files Browse the repository at this point in the history
  • Loading branch information
der-fruhling committed May 22, 2024
1 parent e333db5 commit d9aa25e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
import net.minecraft.client.multiplayer.ClientLevel;
import net.minecraft.client.player.AbstractClientPlayer;
import net.minecraft.client.player.LocalPlayer;
import net.minecraft.world.entity.player.ProfilePublicKey;
import org.jetbrains.annotations.Nullable;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Overwrite;

// If anything else tries to @Overwrite getViewYRot, use their changes.
@Mixin(value = LocalPlayer.class, priority = 200)
public class LocalPlayerMixin extends AbstractClientPlayer {
private LocalPlayerMixin(ClientLevel clientLevel, GameProfile gameProfile) {
super(clientLevel, gameProfile);
public LocalPlayerMixin(ClientLevel clientLevel, GameProfile gameProfile, @Nullable ProfilePublicKey profilePublicKey) {
super(clientLevel, gameProfile, profilePublicKey);
}

/**
Expand Down

0 comments on commit d9aa25e

Please sign in to comment.