mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 20:07:32 +00:00
Proper enum formatting for hover info
This commit is contained in:
1 parent
cf4f4a48a0
commit
6948690042
1 file changed
+1
-1
+1
-1
@@ -805,7 +805,7 @@ public class TokenHoverInfo {
|
||||
}
|
||||
|
||||
// Enum constant name
|
||||
addSegment(fieldInfo.getName(), TokenType.ENUM_CONSTANT.getHexColor());
|
||||
addSegment(token.getStylePrefix() + fieldInfo.getName(), TokenType.ENUM_CONSTANT.getHexColor());
|
||||
|
||||
// Add constructor arguments if available
|
||||
addInitializationTokens(token, fieldInfo);
|
||||
|
||||
Reference in new issue
Block a user