Skip to content

Commit 0e1403f

Browse files
committed
add detekt.yml
1 parent b988184 commit 0e1403f

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.idea/detekt.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/detekt.yml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/kotlin/tech/aliorpse/mcutils/utils/TextComponent.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ public fun String.toTextComponent(): TextComponent {
5151
components[0]
5252
} else {
5353
TextComponent(
54-
text = "", color = "", styles = EnumSet.noneOf(TextStyle::class.java), extra = components
54+
text = "",
55+
color = "",
56+
styles = EnumSet.noneOf(TextStyle::class.java),
57+
extra = components
5558
)
5659
}
5760
}

0 commit comments

Comments
 (0)