onTick

fun onTick(event: TickEvent.ClientTickEvent)

Handles the removal of the chests in the room and puts the correct chest back.