Skip to content

Commit 935ef09

Browse files
committed
Fix default group response color
1 parent 8bcef59 commit 935ef09

File tree

1 file changed

+1
-1
lines changed
  • Spigot/src/main/java/me/innectic/permissify/spigot/commands/permissify

1 file changed

+1
-1
lines changed

Spigot/src/main/java/me/innectic/permissify/spigot/commands/permissify/GroupCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public CommandResponse handleSetDefault(CommandSender sender, String[] args) {
173173
DatabaseHandler handler = plugin.getPermissifyAPI().getDatabaseHandler().get();
174174
if (args.length < 1) {
175175
// If we only have one, show the default group.
176-
String defaultGroupName = handler.getDefaultGroup().map(group -> group.getChatColor() + group.getName())
176+
String defaultGroupName = handler.getDefaultGroup().map(group -> ChatColor.getByChar(group.getChatColor()) + group.getName())
177177
.orElse(PermissifyConstants.EMPTY_DEFAULT_GROUP_NAME);
178178
String response = PermissifyConstants.DEFAULT_GROUP_RESPONSE.replace("<GROUP>", defaultGroupName);
179179
return new CommandResponse(response, true);

0 commit comments

Comments
 (0)