From 19ee2f4a0ee8034e88721b3052ac41a1cbece523 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Wed, 11 Jan 2023 02:42:43 -0600 Subject: small refactor --- src/main/java/dulkirmod/mixins/MixinOldAnimations.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/dulkirmod/mixins/MixinOldAnimations.java b/src/main/java/dulkirmod/mixins/MixinOldAnimations.java index de38ddc..b716af6 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 disableOldAnimationsStuff(ItemRenderer renderer, ItemStack stack, float equipProgress, float partialTicks, CallbackInfoReturnable cir) { if (DulkirMod.Companion.getConfig().getCustomAnimations()) cir.setReturnValue(false); } -- cgit