From dff03109a3c157fbdcf380bc8954a32d82f0b5b7 Mon Sep 17 00:00:00 2001 From: bm01 Date: Fri, 8 Mar 2013 05:28:40 +0100 Subject: [PATCH] Parties should only be saved once per call --- .../java/com/gmail/nossr50/party/PartyManager.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/party/PartyManager.java b/src/main/java/com/gmail/nossr50/party/PartyManager.java index 28f1acd07..b758e06ca 100644 --- a/src/main/java/com/gmail/nossr50/party/PartyManager.java +++ b/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(); } }