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,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);
|
||||
|
Loading…
Reference in New Issue
Block a user