clearLoreIf

fun clearLoreIf(condition: Boolean = false): ItemBuilder(source)

Clears the lore of the ItemBuilder if the given condition is true.

Return

the modified ItemBuilder instance

Parameters

condition

the condition to check for clearing the lore