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,6 +488,7 @@ 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));
|
||||||
@ -496,7 +497,6 @@ public final class PartyManager {
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle party change event.
|
* Handle party change event.
|
||||||
|
Loading…
Reference in New Issue
Block a user