aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-01-11 02:42:43 -0600
committeringlettronald <inglettronald@gmail.com>2023-01-11 02:42:43 -0600
commit19ee2f4a0ee8034e88721b3052ac41a1cbece523 (patch)
tree44e2c40d26f0f4d306ad914fad4541e723000e09 /src/main
parentff433eabc88dcb1c0839f941b445a1ffd394aa52 (diff)
downloadDulkirMod-19ee2f4a0ee8034e88721b3052ac41a1cbece523.tar.gz
DulkirMod-19ee2f4a0ee8034e88721b3052ac41a1cbece523.tar.bz2
DulkirMod-19ee2f4a0ee8034e88721b3052ac41a1cbece523.zip
small refactor
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/dulkirmod/mixins/MixinOldAnimations.java2
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..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<Boolean> cir) {
+ public void disableOldAnimationsStuff(ItemRenderer renderer, ItemStack stack, float equipProgress, float partialTicks, CallbackInfoReturnable<Boolean> cir) {
if (DulkirMod.Companion.getConfig().getCustomAnimations())
cir.setReturnValue(false);
}