diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/dulkirmod/mixins/MixinOldAnimations.java | 8 |
1 files changed, 4 insertions, 4 deletions
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. - * + * <p> * 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<Boolean> cir) { + public void disableOldAnimStuff(ItemRenderer renderer, ItemStack stack, float equipProgress, float partialTicks, CallbackInfoReturnable<Boolean> cir) { if (DulkirMod.Companion.getConfig().getCustomAnimations()) cir.setReturnValue(false); } |