From 439ba462d66a462645149449a640717323b346a1 Mon Sep 17 00:00:00 2001 From: PersonTheCat <33143148+PersonTheCat@users.noreply.github.com> Date: Fri, 16 Jul 2021 19:48:10 -0500 Subject: [PATCH] Synchronize `ResourcePackList#addPackFinder` (#7799) --- .../net/minecraft/resources/ResourcePackList.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/resources/ResourcePackList.java.patch b/patches/minecraft/net/minecraft/resources/ResourcePackList.java.patch index 62aeb95f87..7ff5a99af8 100644 --- a/patches/minecraft/net/minecraft/resources/ResourcePackList.java.patch +++ b/patches/minecraft/net/minecraft/resources/ResourcePackList.java.patch @@ -15,7 +15,7 @@ return this.field_198988_b.get(p_198981_1_); + } + -+ public void addPackFinder(IPackFinder packFinder) { ++ public synchronized void addPackFinder(IPackFinder packFinder) { + this.field_198987_a.add(packFinder); }