Skip to content

Commit

Permalink
Merge branch 'architectury-1.19.3' into architectury-1.19.4
Browse files Browse the repository at this point in the history
  • Loading branch information
UnlikePaladin committed Nov 5, 2023
2 parents a3567cf + 71385d4 commit aac524e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
public class PFMSaveLoaderMixin {

@ModifyArg(method = "load", at = @At(value = "INVOKE", target = "Lnet/minecraft/resource/LifecycledResourceManagerImpl;<init>(Lnet/minecraft/resource/ResourceType;Ljava/util/List;)V"), index = 1)
private static List<ResourcePack> createReload(List<ResourcePack> packs) {
private List<ResourcePack> createReload(List<ResourcePack> packs) {
List<ResourcePack> resourcePacks = new ArrayList<>(packs);
resourcePacks.removeIf(pack -> pack instanceof PathPackRPWrapper);
PFMRuntimeResources.RESOURCE_PACK_LIST = resourcePacks;
Expand Down

0 comments on commit aac524e

Please sign in to comment.