mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Completions and shadowmute support in RP
This commit is contained in:
1 parent
5c0d901aaf
commit
03e8f4ec53
3 files changed
+13
-5
No files matched your search
@@ -2,6 +2,7 @@ package net.draycia.simplechat.commands;
|
||||
|
||||
import co.aikar.commands.BaseCommand;
|
||||
import co.aikar.commands.annotation.CommandAlias;
|
||||
import co.aikar.commands.annotation.CommandCompletion;
|
||||
import co.aikar.commands.annotation.CommandPermission;
|
||||
import co.aikar.commands.annotation.Default;
|
||||
import net.draycia.simplechat.SimpleChat;
|
||||
@@ -21,6 +22,7 @@ public class ShadowMuteCommand extends BaseCommand {
|
||||
}
|
||||
|
||||
@Default
|
||||
@CommandCompletion("@players")
|
||||
public void baseCommand(CommandSender sender, OfflinePlayer target) {
|
||||
boolean isNowMuted = simpleChat.toggleShadowMute(target);
|
||||
|
||||
|
||||
Reference in new issue
Block a user