From 626e80bf6c586a53599b6c92c000cd553c0e1b7d Mon Sep 17 00:00:00 2001 From: inglettronald Date: Wed, 11 Jan 2023 02:57:07 -0600 Subject: small refactor --- src/main/java/dulkirmod/mixins/MixinOldAnimations.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main/java/dulkirmod/mixins/MixinOldAnimations.java b/src/main/java/dulkirmod/mixins/MixinOldAnimations.java index b716af6..f299d86 100644 --- a/src/main/java/dulkirmod/mixins/MixinOldAnimations.java +++ b/src/main/java/dulkirmod/mixins/MixinOldAnimations.java @@ -11,10 +11,10 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; /** * This method will basically just turn off all the oldanimations code that is breaking dulkirmod. - * + *

* It will only run if you have the global settings of Custom Animations turned on, so you can basically - * pick which one you want to have. Either custom animations or old. This is not a great fix, but - * to make them work together seamlessly I would *basically* be recoding the entirety of Old Animations into + * pick which one you want to have. Either custom animations or old (for conflicting features). This is not a great fix, + * but to make them work together seamlessly I would *basically* be recoding the entirety of Old Animations into * this mod, which I don't really want to do. */ @@ -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 disableOldAnimationsStuff(ItemRenderer renderer, ItemStack stack, float equipProgress, float partialTicks, CallbackInfoReturnable cir) { + public void disableOldAnimStuff(ItemRenderer renderer, ItemStack stack, float equipProgress, float partialTicks, CallbackInfoReturnable cir) { if (DulkirMod.Companion.getConfig().getCustomAnimations()) cir.setReturnValue(false); } -- cgit