From c7a8ac52e9ccac63e15ac8c43987b9586107e15e Mon Sep 17 00:00:00 2001 From: carm Date: Wed, 28 Feb 2024 23:34:22 +0800 Subject: [PATCH] feat(color): Support HexCode in suffix color. #5 --- .../com/artformgames/plugin/usersuffix/user/SuffixLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/artformgames/plugin/usersuffix/user/SuffixLoader.java b/src/main/java/com/artformgames/plugin/usersuffix/user/SuffixLoader.java index 16e8081..5368069 100644 --- a/src/main/java/com/artformgames/plugin/usersuffix/user/SuffixLoader.java +++ b/src/main/java/com/artformgames/plugin/usersuffix/user/SuffixLoader.java @@ -18,7 +18,7 @@ public class SuffixLoader extends UserHandlerLoader { protected SQLTable table = SQLTable.of("user_suffix", builder -> { builder.addColumn("user", "INT UNSIGNED NOT NULL PRIMARY KEY"); builder.addColumn("content", "VARCHAR(255)"); - builder.addColumn("color", "CHAR(1)"); + builder.addColumn("color", "VARCHAR(7)"); }); public SuffixLoader(@NotNull Plugin plugin) {