Fix compilation and issues

This commit is contained in:
Draycia committed 2020-07-10 02:10:47 -07:00
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()));
}
}