Skip to content

Commit

Permalink
Fix values crash with UseAnim
Browse files Browse the repository at this point in the history
  • Loading branch information
BluSpring committed Jan 18, 2025
1 parent f2c454e commit b7a22f9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import net.minecraft.world.item.UseAnim;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Mutable;
import org.spongepowered.asm.mixin.gen.Accessor;
import org.spongepowered.asm.mixin.gen.Invoker;

Expand All @@ -17,6 +18,7 @@ static UseAnim[] getValues() {
throw new IllegalStateException();
}

@Mutable
@Accessor("$VALUES")
static void setValues(UseAnim[] values) {
throw new IllegalStateException();
Expand Down

0 comments on commit b7a22f9

Please sign in to comment.