File tree Expand file tree Collapse file tree
src/main/kotlin/com/mairwunnx/projectessentials/chat/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,15 +60,13 @@ object UnmuteCommand {
6060 if (player != null ) {
6161 if (MuteAPI .unmutePlayer(player.name.string)) {
6262 if (ChatModelUtils .chatModel.mute.notifyAllAboutUnmute) {
63- if (ChatModelUtils .chatModel.mute.notifyAllAboutMute) {
64- context.source.server.playerList.sendMessage(
65- TranslationTextComponent (
66- " project_essentials_chat.notify_unmuted" ,
67- player.name.string,
68- context.playerName()
69- )
63+ context.source.server.playerList.sendMessage(
64+ TranslationTextComponent (
65+ " project_essentials_chat.notify_unmuted" ,
66+ player.name.string,
67+ context.playerName()
7068 )
71- }
69+ )
7270 }
7371
7472 sendMsg(
@@ -93,7 +91,7 @@ object UnmuteCommand {
9391 }
9492 } else if (playerName != null ) {
9593 if (MuteAPI .unmutePlayer(playerName)) {
96- if (ChatModelUtils .chatModel.mute.notifyAllAboutMute ) {
94+ if (ChatModelUtils .chatModel.mute.notifyAllAboutUnmute ) {
9795 context.source.server.playerList.sendMessage(
9896 TranslationTextComponent (
9997 " project_essentials_chat.notify_unmuted" ,
You can’t perform that action at this time.
0 commit comments