mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
Reset mute expiration when appropriate
This commit is contained in:
1 parent
b8d35dda64
commit
6a0c97dd78
2 files changed
+2
No files matched your search
@@ -136,6 +136,7 @@ public final class MuteCommand extends CarbonCommand {
|
||||
}
|
||||
}
|
||||
|
||||
target.muteExpiration(0);
|
||||
target.muted(true);
|
||||
})
|
||||
.build();
|
||||
|
||||
@@ -112,6 +112,7 @@ public final class UnmuteCommand extends CarbonCommand {
|
||||
this.carbonMessages.unmuteAlertPlayers(player, target.displayName());
|
||||
}
|
||||
|
||||
target.muteExpiration(0);
|
||||
target.muted(false);
|
||||
})
|
||||
.build();
|
||||
|
||||
Reference in new issue
Block a user