diff --git a/src/main/java/mc/unraveled/reforged/command/MuteCMD.java b/src/main/java/mc/unraveled/reforged/command/MuteCMD.java index 4435927..27e25d4 100644 --- a/src/main/java/mc/unraveled/reforged/command/MuteCMD.java +++ b/src/main/java/mc/unraveled/reforged/command/MuteCMD.java @@ -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();