mirror of
https://github.com/SimplexDevelopment/Traverse.git
synced 2024-12-22 05:57:36 +00:00
Merge branch 'kitchen-sink' of https://github.com/SimplexDevelopment/Traverse into kitchen-sink
This commit is contained in:
commit
5a48fb7285
@ -39,7 +39,8 @@ public class MuteCMD extends AbstractCommandBase {
|
||||
if (duration == 0) return Component.text("Invalid duration.");
|
||||
|
||||
MuteService service = new MuteService(getPlugin().getPIPELINE(), "MuteService", duration);
|
||||
|
||||
service.setInfractionData(infData);
|
||||
|
||||
if (!infData.isMuted()) {
|
||||
infData.setMuted(true);
|
||||
getPlugin().getScheduler().queue(service).subscribe();
|
||||
|
Loading…
Reference in New Issue
Block a user