From 5d0d89e74d80a40abdca03e64521347cd395df94 Mon Sep 17 00:00:00 2001 From: bm01 Date: Sat, 9 Jun 2012 20:32:35 +0200 Subject: [PATCH] Changed party name restriction --- src/main/java/com/gmail/nossr50/party/PartyManager.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/party/PartyManager.java b/src/main/java/com/gmail/nossr50/party/PartyManager.java index 932d977c3..6bcd4d484 100644 --- a/src/main/java/com/gmail/nossr50/party/PartyManager.java +++ b/src/main/java/com/gmail/nossr50/party/PartyManager.java @@ -256,8 +256,7 @@ public class PartyManager { * @param password the password for this party, null if there was no password */ public void addToParty(Player player, PlayerProfile playerProfile, String partyName, String password) { - //Fix for FFS - partyName = partyName.replace(":", "."); + partyName = partyName.replace(".", ""); Party party = getParty(partyName); String playerName = player.getName(); @@ -266,7 +265,7 @@ public class PartyManager { party.setName(partyName); party.setLeader(playerName); - + if (password != null) { party.setPassword(password); party.setLocked(true);