Added party leave notif

This commit is contained in:
2022-02-15 03:20:05 +01:00
parent 59781f486d
commit 647ad2b62a
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);
}
}