Merge branch 'kitchen-sink' of https://github.com/SimplexDevelopment/Traverse into kitchen-sink

This commit is contained in:
Paldiu 2023-01-30 00:37:09 -06:00
commit 5a48fb7285

View File

@ -39,6 +39,7 @@ 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);