updateSlot

abstract fun updateSlot(objective: Objective?, slot: DisplaySlot)

Updates the objective in the given slot to be the given objective, clearing the objective at the given slot if the given objective is null.

Parameters

objective

the objective, null to clear

slot

the slot