2
0
Эх сурвалжийг харах

Parties should only be saved once per call

bm01 12 жил өмнө
parent
commit
dff03109a3

+ 6 - 6
src/main/java/com/gmail/nossr50/party/PartyManager.java

@@ -488,13 +488,13 @@ public final class PartyManager {
             }
 
             partiesFile.set(partyName + ".Members", memberNames);
+        }
 
-            try {
-                partiesFile.save(new File(partiesFilePath));
-            }
-            catch (Exception e) {
-                e.printStackTrace();
-            }
+        try {
+            partiesFile.save(new File(partiesFilePath));
+        }
+        catch (Exception e) {
+            e.printStackTrace();
         }
     }