From 5077d04193640458523cab71e8644fadb2b9d976 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 27 Aug 2022 18:12:44 +0200 Subject: [PATCH] Fix mixin sig --- .../minelittlepony/unicopia/mixin/client/MixinInGameHud.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/mixin/client/MixinInGameHud.java b/src/main/java/com/minelittlepony/unicopia/mixin/client/MixinInGameHud.java index 2b24b104..d6fd67a5 100644 --- a/src/main/java/com/minelittlepony/unicopia/mixin/client/MixinInGameHud.java +++ b/src/main/java/com/minelittlepony/unicopia/mixin/client/MixinInGameHud.java @@ -25,7 +25,7 @@ abstract class MixinInGameHud { abstract class MixinInGameHud$HeartType { @SuppressWarnings({"unchecked", "rawtypes"}) @Inject( - method = "fromPlayerState(Lnet/minecraft/entity/player/PlayerEntity;F)Lnet/minecraft/client/gui/hud/InGameHud$HeartType;", + method = "fromPlayerState(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/client/gui/hud/InGameHud$HeartType;", at = @At("RETURN"), cancellable = true) private static void onFromPlayerState(PlayerEntity player, CallbackInfoReturnable cbi) {