From 996c2c04062e33bf0e3ae624e57e2a2a3005b1ea Mon Sep 17 00:00:00 2001 From: UnlikePaladin <36827970+UnlikePaladin@users.noreply.github.com> Date: Sun, 5 Nov 2023 12:26:05 -0600 Subject: [PATCH] Fix wrong Mixin on forge --- .../com/unlikepaladin/pfm/mixin/forge/PFMSaveLoaderMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge/src/main/java/com/unlikepaladin/pfm/mixin/forge/PFMSaveLoaderMixin.java b/forge/src/main/java/com/unlikepaladin/pfm/mixin/forge/PFMSaveLoaderMixin.java index 8ee9d74c5..6e7e2648f 100644 --- a/forge/src/main/java/com/unlikepaladin/pfm/mixin/forge/PFMSaveLoaderMixin.java +++ b/forge/src/main/java/com/unlikepaladin/pfm/mixin/forge/PFMSaveLoaderMixin.java @@ -16,7 +16,7 @@ public class PFMSaveLoaderMixin { @ModifyArg(method = "load", at = @At(value = "INVOKE", target = "Lnet/minecraft/resource/LifecycledResourceManagerImpl;(Lnet/minecraft/resource/ResourceType;Ljava/util/List;)V"), index = 1) - private static List createReload(List packs) { + private List createReload(List packs) { List resourcePacks = new ArrayList<>(packs); resourcePacks.removeIf(pack -> pack instanceof PathPackRPWrapper); PFMRuntimeResources.RESOURCE_PACK_LIST = resourcePacks;