repairAll

abstract fun repairAll(    player: Player,     silent: Boolean,     executor: CommandSender? = null,     sendMessage: Boolean = true)

Method to repair all things in a players inventory.

Parameters

player

the player whose item you want to repair

silent

if a target player exists, they will recieve a message if this is true

executor

is nullable. if it is null, the player ran the command on themselves, otherwise someone else ran it on the player.

sendMessage

if it should send the message to the player saying their item was repaired.