Skip to content

Commit 333147c

Browse files
committed
Silence mixin warning with Moonrise
1 parent d25781f commit 333147c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/src/main/java/org/embeddedt/modernfix/common/mixin/bugfix/paper_chunk_patches/SortedArraySetMixin.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package org.embeddedt.modernfix.common.mixin.bugfix.paper_chunk_patches;
22

33
import net.minecraft.util.SortedArraySet;
4+
import org.embeddedt.modernfix.annotation.RequiresMod;
45
import org.spongepowered.asm.mixin.Mixin;
56
import org.spongepowered.asm.mixin.Shadow;
67

@@ -9,6 +10,7 @@
910
import java.util.function.Predicate;
1011

1112
@Mixin(SortedArraySet.class)
13+
@RequiresMod("!moonrise")
1214
public abstract class SortedArraySetMixin<T> extends AbstractSet<T> {
1315
@Shadow private int size;
1416

0 commit comments

Comments
 (0)