diff options
author | inglettronald <71849533+inglettronald@users.noreply.github.com> | 2023-01-11 02:46:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 02:46:14 -0600 |
commit | a91e52ea0ea2b09a5550e98ee6b22c227993beab (patch) | |
tree | 0c7ba70126c63e4b545cd8c92e0f764aabab5903 /src/main/java/dulkirmod | |
parent | dd5e4d48e5799330b3a1b79322a351ca6ccdbab7 (diff) | |
download | DulkirMod-a91e52ea0ea2b09a5550e98ee6b22c227993beab.tar.gz DulkirMod-a91e52ea0ea2b09a5550e98ee6b22c227993beab.tar.bz2 DulkirMod-a91e52ea0ea2b09a5550e98ee6b22c227993beab.zip |
small refactor
Diffstat (limited to 'src/main/java/dulkirmod')
-rw-r--r-- | src/main/java/dulkirmod/mixins/MixinOldAnimations.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<Boolean> cir) { + public void disableCustomAnimationsStuff(ItemRenderer renderer, ItemStack stack, float equipProgress, float partialTicks, CallbackInfoReturnable<Boolean> cir) { if (DulkirMod.Companion.getConfig().getCustomAnimations()) cir.setReturnValue(false); } |