mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
Parties should only be saved once per call
This commit is contained in:
parent
c0986a1f89
commit
dff03109a3
@ -488,13 +488,13 @@ public final class PartyManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
partiesFile.set(partyName + ".Members", memberNames);
|
partiesFile.set(partyName + ".Members", memberNames);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
partiesFile.save(new File(partiesFilePath));
|
partiesFile.save(new File(partiesFilePath));
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user