File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/de/bixilon/minosoft/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,8 @@ object KUtil {
147147 fun TextFormattable.format () = ChatComponent .of(this .toText())
148148 fun Identified.format () = identifier.format()
149149 fun Boolean.format () = if (this ) TextFormattable .TRUE else TextFormattable .FALSE
150- inline fun Float.format () = TextComponent (" §d %.3f" .format(this )).color(ChatColors .LIGHT_PURPLE )
151- inline fun Double.format () = TextComponent (" §d %.4f" .format(this )).color(ChatColors .LIGHT_PURPLE )
150+ inline fun Float.format () = TextComponent (" %.3f" .format(this )).color(ChatColors .LIGHT_PURPLE )
151+ inline fun Double.format () = TextComponent (" %.4f" .format(this )).color(ChatColors .LIGHT_PURPLE )
152152 inline fun Number.format () = TextComponent (this .toString()).color(ChatColors .LIGHT_PURPLE )
153153
154154 fun ResourceLocation.format () = TextComponent (this .toString()).color(ChatColors .GOLD )
You can’t perform that action at this time.
0 commit comments