diff --git a/src/main/java/com/gmail/nossr50/party/PartyManager.java b/src/main/java/com/gmail/nossr50/party/PartyManager.java index c0b05525d..6b3981893 100644 --- a/src/main/java/com/gmail/nossr50/party/PartyManager.java +++ b/src/main/java/com/gmail/nossr50/party/PartyManager.java @@ -506,7 +506,14 @@ public final class PartyManager { partiesFile.set(partyName + ".Locked", party.isLocked()); partiesFile.set(partyName + ".ExpShareMode", party.getXpShareMode().toString()); partiesFile.set(partyName + ".ItemShareMode", party.getItemShareMode().toString()); - partiesFile.set(partyName + ".Members", party.getMembers()); + + List memberNames = new ArrayList(); + + for (OfflinePlayer member : party.getMembers()) { + memberNames.add(member.getName()); + } + + partiesFile.set(partyName + ".Members", memberNames); try { partiesFile.save(new File(partiesFilePath));