mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Fix setcolor command
This commit is contained in:
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())) {
|
||||
|
||||
Reference in new issue
Block a user