Fix setcolor command

This commit is contained in:
Draycia committed 2020-09-08 23:34:50 -07:00
1 parent 7978ee296d
commit 75ff948a26
1 file changed
+1 -1
@@ -37,7 +37,7 @@ public class SetColorCommand {
.withAliases(commandSettings.getAliasesArray())
.withPermission(CommandPermission.fromString("carbonchat.setcolor"))
.executesPlayer((player, args) -> {
TextColor color = (TextColor)args[1];
TextColor color = (TextColor)args[0];
ChatUser user = carbonChat.getUserService().wrap(player);
if (!player.hasPermission("carbonchat.setcolor." + channel.getKey())) {