mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-12-11 03:38:46 +01:00
Static Abuse Removal - TextComponentFactory
This commit is contained in:
@@ -462,7 +462,7 @@ public final class PartyManager {
|
||||
public void createParty(McMMOPlayer mcMMOPlayer, String partyName, String password) {
|
||||
Player player = mcMMOPlayer.getPlayer();
|
||||
|
||||
Party party = new Party(new PartyLeader(player.getUniqueId(), player.getName()), partyName.replace(".", ""), password);
|
||||
Party party = new Party(new PartyLeader(player.getUniqueId(), player.getName()), partyName.replace(".", ""), password, pluginRef);
|
||||
|
||||
if (password != null) {
|
||||
player.sendMessage(pluginRef.getLocaleManager().getString("Party.Password.Set", password));
|
||||
|
||||
Reference in New Issue
Block a user