From a91e52ea0ea2b09a5550e98ee6b22c227993beab Mon Sep 17 00:00:00 2001 From: inglettronald <71849533+inglettronald@users.noreply.github.com> Date: Wed, 11 Jan 2023 02:46:14 -0600 Subject: small refactor --- src/main/java/dulkirmod/mixins/MixinOldAnimations.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/dulkirmod') diff --git a/src/main/java/dulkirmod/mixins/MixinOldAnimations.java b/src/main/java/dulkirmod/mixins/MixinOldAnimations.java index de38ddc..244d640 100644 --- a/src/main/java/dulkirmod/mixins/MixinOldAnimations.java +++ b/src/main/java/dulkirmod/mixins/MixinOldAnimations.java @@ -23,7 +23,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; public class MixinOldAnimations { @Inject(method = "renderItemInFirstPerson", at = @At(value = "HEAD"), cancellable = true) - public void angy(ItemRenderer renderer, ItemStack stack, float equipProgress, float partialTicks, CallbackInfoReturnable cir) { + public void disableCustomAnimationsStuff(ItemRenderer renderer, ItemStack stack, float equipProgress, float partialTicks, CallbackInfoReturnable cir) { if (DulkirMod.Companion.getConfig().getCustomAnimations()) cir.setReturnValue(false); } -- cgit