Added party leave notif

This commit is contained in:
2022-02-19 16:58:22 +01:00
committed by destro174
parent e0ed414a38
commit 956d04abe0
2 changed files with 6 additions and 1 deletions
@@ -53,6 +53,10 @@ public class Leave implements SubCommand {
}
} else {
source.sendMessage(Utility.parseMiniMessage(Config.LEFT_PARTY));
VelocityChat.getPlugin().getChatHandler().sendPartyMessage(party,
Utility.parseMiniMessage(Config.PLAYER_LEFT_PARTY,
Placeholder.miniMessage("player_name", player.getUsername())
), null);
}
}