From bce0f019b5e15bc3b2b01937de092ed3ba68fbbb Mon Sep 17 00:00:00 2001 From: Integer Limit <103940576+IntegerLimit@users.noreply.github.com> Date: Sun, 29 Dec 2024 17:41:39 +1100 Subject: [PATCH] Fix MaterialStack Mixin Overrides --- .../nomilabs/mixin/gregtech/MaterialStackMixin.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/com/nomiceu/nomilabs/mixin/gregtech/MaterialStackMixin.java b/src/main/java/com/nomiceu/nomilabs/mixin/gregtech/MaterialStackMixin.java index 98e82626..d85f4ae3 100644 --- a/src/main/java/com/nomiceu/nomilabs/mixin/gregtech/MaterialStackMixin.java +++ b/src/main/java/com/nomiceu/nomilabs/mixin/gregtech/MaterialStackMixin.java @@ -4,6 +4,7 @@ import net.minecraft.item.crafting.Ingredient; import org.apache.commons.lang3.NotImplementedException; +import org.jetbrains.annotations.Nullable; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; @@ -69,4 +70,12 @@ public Ingredient toMcIngredient() { public IResourceStack multiply(Number num) { return (IResourceStack) copy(num.longValue()); } + + @Override + public @Nullable String getMark() { + return null; + } + + @Override + public void setMark(String mark) {} }