aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/mixin/GroupResourcePackAccessor.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/GroupResourcePackAccessor.java b/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/GroupResourcePackAccessor.java
index 8263be8..8acd336 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/GroupResourcePackAccessor.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/GroupResourcePackAccessor.java
@@ -3,6 +3,7 @@ package shcm.shsupercm.fabric.citresewn.mixin;
import net.fabricmc.fabric.impl.resource.loader.GroupResourcePack;
import net.minecraft.resource.ResourcePack;
import org.spongepowered.asm.mixin.Mixin;
+import org.spongepowered.asm.mixin.Pseudo;
import org.spongepowered.asm.mixin.gen.Accessor;
import shcm.shsupercm.fabric.citresewn.pack.PackParser;
@@ -13,8 +14,9 @@ import java.util.List;
* Used by Fabric API to bundle all mods' resources into a single pack.
* @see PackParser#forEachPack
*/
-@Mixin(GroupResourcePack.class)
+@Pseudo
+@Mixin(value = GroupResourcePack.class, remap = false)
public interface GroupResourcePackAccessor {
- @Accessor
+ @Accessor(remap = false)
List<ResourcePack> getPacks();
}