mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Add UserService and relocate private message sending
This commit is contained in:
1 parent
a57254aa6a
commit
554775ba13
17 files changed
+87
-117
No files matched your search
@@ -6,7 +6,6 @@ import co.aikar.commands.annotation.CommandCompletion;
|
||||
import co.aikar.commands.annotation.CommandPermission;
|
||||
import co.aikar.commands.annotation.Default;
|
||||
import net.draycia.simplechat.SimpleChat;
|
||||
import net.draycia.simplechat.managers.UserManager;
|
||||
import net.draycia.simplechat.storage.ChatUser;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.minimessage.MiniMessage;
|
||||
@@ -26,7 +25,7 @@ public class ShadowMuteCommand extends BaseCommand {
|
||||
@Default
|
||||
@CommandCompletion("@players")
|
||||
public void baseCommand(CommandSender sender, OfflinePlayer target) {
|
||||
ChatUser targetUser = UserManager.wrap(target.getUniqueId());
|
||||
ChatUser targetUser = simpleChat.getUserService().wrap(target.getUniqueId());
|
||||
|
||||
String format;
|
||||
|
||||
|
||||
Reference in new issue
Block a user