File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/main/kotlin/de/fruxz/stacked/extension Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11package de.fruxz.stacked.extension
22
3+ import de.fruxz.ascend.extension.dump
34import de.fruxz.stacked.Stacked
45import net.kyori.adventure.text.Component
56import net.kyori.adventure.text.TextComponent
67
78@Stacked
8- fun TextComponent.Builder.newlines (amount : Int ) = apply { repeat(amount) { append(Component .newline()) } }
9+ fun TextComponent.Builder.newlines (amount : Int ) = apply { repeat(amount) { append(Component .newline()) } }.dump()
910
1011@Stacked
11- fun TextComponent.Builder.newline () = apply { append(Component .newline()) }
12+ fun TextComponent.Builder.newline () = apply { append(Component .newline()) }.dump()
1213
1314@Stacked
14- fun TextComponent.Builder.space () = append(Component .space())
15+ fun TextComponent.Builder.space () = append(Component .space()).dump()
1516
1617@Stacked
17- fun TextComponent.Builder.spaces (amount : Int ) = apply { repeat(amount) { space() } }
18+ fun TextComponent.Builder.spaces (amount : Int ) = apply { repeat(amount) { space() } }.dump()
You can’t perform that action at this time.
0 commit comments