Fix crashes by actually targetting the correct class in mixin (#1003)

This was renamed in yarn almost a month ago, so who knows how many times it's crashed
This commit is contained in:
i509VCB 2020-08-08 07:18:49 -05:00 committed by GitHub
parent ad64ee68e8
commit 648c8fd11f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ import net.minecraft.tag.SetTag;
import net.fabricmc.fabric.api.tag.FabricTag;
import net.fabricmc.fabric.impl.tag.extension.FabricTagHooks;
@Mixin(value = {SetTag.class}, targets = {"net.minecraft.tag.Tag$1", "net.minecraft.tag.GlobalTagAccessor$CachedTag"})
@Mixin(value = {SetTag.class}, targets = {"net.minecraft.tag.Tag$1", "net.minecraft.tag.RequiredTagList$TagWrapper"})
public abstract class MixinTagImpl<T> implements FabricTag<T>, FabricTagHooks, Tag<T> {
@Unique
private int fabric_clearCount;