Synchronize ResourcePackList#addPackFinder (#7799)

This commit is contained in:
PersonTheCat authored and GitHub committed 2021-07-16 17:48:10 -07:00
1 parent 7c6ae3e61e
commit 439ba462d6
1 file changed
+1 -1
@@ -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);
}