Skip to content

Commit 2d0cf9f

Browse files
committed
Fix color value from target
1 parent fe07c57 commit 2d0cf9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/commands/color.command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct($client, $args = []) {
3636
return false;
3737
}
3838

39-
$instance->color = intval($color);
39+
$instance->color = hexdec($color);
4040
$instance->save();
4141

4242
if ($instance->holder !== null) {

0 commit comments

Comments
 (0)