Skip to content

Commit

Permalink
fix obf crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyfts committed Jan 16, 2025
1 parent 247a076 commit b0c585e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public abstract class MixinModelBiped extends ModelBase {
value = "FIELD",
opcode = Opcodes.GETFIELD,
target = "Lnet/minecraft/client/model/ModelBiped;aimedBow:Z"))
private boolean backhand$moveOffhandAimedBow(boolean original, @Local(name = "p_78087_3_") float f3,
private boolean backhand$moveOffhandAimedBow(boolean original, @Local(argsOnly = true, ordinal = 2) float f3,
@Local(argsOnly = true) Entity entity) {
if (entity instanceof EntityPlayer player && entity == Minecraft.getMinecraft().thePlayer
&& ((IBackhandPlayer) player).isOffhandItemInUse()) {
Expand Down

0 comments on commit b0c585e

Please sign in to comment.