Skip to content

Commit

Permalink
Fix minor code style issues in MishapInvalidOperatorArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Jul 13, 2024
1 parent fbd92e2 commit 350fe2e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import net.minecraft.world.item.DyeColor
/**
* The value failed some kind of predicate.
*/
class MishapInvalidOperatorArgs( val perpetrators: List<Iota> ) : Mishap() {
class MishapInvalidOperatorArgs(val perpetrators: List<Iota>) : Mishap() {
override fun accentColor(ctx: CastingEnvironment, errorCtx: Context): FrozenPigment =
dyeColor(DyeColor.GRAY)

Expand All @@ -35,7 +35,7 @@ class MishapInvalidOperatorArgs( val perpetrators: List<Iota> ) : Mishap() {
perpetrators.size,
0,
perpetrators.lastIndex,
ComponentUtils.formatList(perpetrators.map {it.display()}, ", ".asTextComponent)
ComponentUtils.formatList(perpetrators.map { it.display() }, ", ".asTextComponent)
)
}
}
Expand Down

0 comments on commit 350fe2e

Please sign in to comment.