diff options
author | inglettronald <inglettronald@gmail.com> | 2023-01-11 02:57:07 -0600 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-01-11 02:57:07 -0600 |
commit | 626e80bf6c586a53599b6c92c000cd553c0e1b7d (patch) | |
tree | ed49b735826c7b6c56e296030493dc9b755e9607 /src/main/java | |
parent | b29959e5ebaffc2a99e92c183be723d875a5d590 (diff) | |
download | DulkirMod-626e80bf6c586a53599b6c92c000cd553c0e1b7d.tar.gz DulkirMod-626e80bf6c586a53599b6c92c000cd553c0e1b7d.tar.bz2 DulkirMod-626e80bf6c586a53599b6c92c000cd553c0e1b7d.zip |
small refactor
Diffstat (limited to 'src/main/java')
-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); } |