mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Fix compilation and issues
This commit is contained in:
1 parent
067162e9e6
commit
6fd35ebba0
3 files changed
+24
-17
No files matched your search
@@ -41,6 +41,7 @@ public class ToggleCommand extends BaseCommand {
|
||||
}
|
||||
|
||||
@CommandPermission("simplechat.toggle.others")
|
||||
@Subcommand("other")
|
||||
@CommandCompletion("@chatchannel @players")
|
||||
public void baseCommand(Player player, @Conditions("canuse:true") ChatChannel channel, ChatUser user) {
|
||||
String message;
|
||||
@@ -63,6 +64,6 @@ public class ToggleCommand extends BaseCommand {
|
||||
|
||||
simpleChat.getUserService().wrap(player).sendMessage(MiniMessage.get().parse(otherMessage,
|
||||
"br", "\n", "color", "<color:" + channel.getColor().toString() + ">",
|
||||
"channel", channel.getName()));
|
||||
"channel", channel.getName(), "player", user.asOfflinePlayer().getName()));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user