Added party leave notif

This commit is contained in:
auto authored and destro174 committed 2022-02-19 16:58:22 +01:00
1 parent e0ed414a38
commit 956d04abe0
2 files changed
+6 -1

No files matched your search

@@ -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);
}
}