mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 13:46:46 +01:00
Changed party name restriction
This commit is contained in:
parent
e9c3583fd8
commit
5d0d89e74d
@ -256,8 +256,7 @@ public class PartyManager {
|
|||||||
* @param password the password for this party, null if there was no password
|
* @param password the password for this party, null if there was no password
|
||||||
*/
|
*/
|
||||||
public void addToParty(Player player, PlayerProfile playerProfile, String partyName, String 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);
|
Party party = getParty(partyName);
|
||||||
String playerName = player.getName();
|
String playerName = player.getName();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user